Builder for BeginSignInRequest
.
Public Constructor Summary
Builder()
|
Public Method Summary
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 |
setPasswordRequestOptions(BeginSignInRequest.PasswordRequestOptions
passwordRequestOptions)
Sets the
BeginSignInRequest.PasswordRequestOptions for the request.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public BeginSignInRequest build ()
Returns the built BeginSignInRequest
.
public BeginSignInRequest.Builder setAutoSelectEnabled (boolean autoSelectEnabled)
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).
public BeginSignInRequest.Builder setGoogleIdTokenRequestOptions (BeginSignInRequest.GoogleIdTokenRequestOptions googleIdTokenRequestOptions)
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.
Parameters
googleIdTokenRequestOptions | the
BeginSignInRequest.GoogleIdTokenRequestOptions for the request |
---|
public BeginSignInRequest.Builder setPasswordRequestOptions (BeginSignInRequest.PasswordRequestOptions passwordRequestOptions)
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.
Parameters
passwordRequestOptions | the
BeginSignInRequest.PasswordRequestOptions for the request |
---|