Builder for BeginSignInRequest.
|
Builder()
|
| BeginSignInRequest |
build()
Returns the built
BeginSignInRequest.
|
| BeginSignInRequest.Builder |
setAutoSelectEnabled(boolean autoSelectEnabled)
Sets the auto-select behavior in the request.
|
| BeginSignInRequest.Builder |
setGoogleIdTokenRequestOptions(BeginSignInRequest.GoogleIdTokenRequestOptions
googleIdTokenRequestOptions)
Sets the
BeginSignInRequest.GoogleIdTokenRequestOptions for the request.
|
| BeginSignInRequest.Builder |
setPasskeysSignInRequestOptions(BeginSignInRequest.PasskeysRequestOptions
passkeysRequestOptions)
Sets the
BeginSignInRequest.PasskeysRequestOptions for the request.
|
| BeginSignInRequest.Builder |
setPasswordRequestOptions(BeginSignInRequest.PasswordRequestOptions
passwordRequestOptions)
Sets the
BeginSignInRequest.PasswordRequestOptions for the request.
|
Returns the built BeginSignInRequest.
Sets the auto-select behavior in the request.
For users who opt-in, Auto Select allows a credential to be selected automatically without waiting for a user action (such as tapping on the "continue" button). A credential can be auto selected if 1) only one credential can be used for sign-in; and 2) no further actions need to be taken for this credential (for example, data sharing permissions are already collected for a Google account).
Sets the
BeginSignInRequest.GoogleIdTokenRequestOptions for the request.
Use this method if you wish to retrieve an ID token issued on behalf of a Google account signed in on the device.
| googleIdTokenRequestOptions | the
BeginSignInRequest.GoogleIdTokenRequestOptions for the request |
|---|
Sets the
BeginSignInRequest.PasskeysRequestOptions for the request.
Use this method if you wish to retrieve Passkeys.
Note: Use of this method is not supported directly. If you are interested in using passkeys, please use the JetPack libraries.
| passkeysRequestOptions | the
BeginSignInRequest.PasskeysRequestOptions for the request |
|---|
Sets the
BeginSignInRequest.PasswordRequestOptions for the request.
Use this method if you wish to retrieve passwords previously saved to a Google account signed in on the device through mechanisms like Smart Lock for Passwords, Chrome password manager or Android Autofill.
| passwordRequestOptions | the
BeginSignInRequest.PasswordRequestOptions for the request |
|---|