This class is deprecated.
UseCredential Manager
instead.
Builder forBeginSignInRequest
.
Public Constructor Summary
Builder()
|
Public Method Summary
Inherited Method Summary
Public Constructors
publicBuilder()
Public Methods
publicBeginSignInRequest build()
Returns the builtBeginSignInRequest
.
public BeginSignInRequest.BuildersetAutoSelectEnabled(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.BuildersetGoogleIdTokenRequestOptions(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.BuildersetPasskeyJsonSignInRequestOptions(BeginSignInRequest.PasskeyJsonRequestOptions passkeyJsonRequestOptions)
Sets the
BeginSignInRequest.PasskeyJsonRequestOptions
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, use theJetpack libraries.
Parameters
passkeyJsonRequestOptions | the
BeginSignInRequest.PasskeyJsonRequestOptions for the request |
---|
public BeginSignInRequest.BuildersetPasskeysSignInRequestOptions(BeginSignInRequest.PasskeysRequestOptions passkeysRequestOptions)
This method is deprecated.
Use
setPasskeyJsonSignInRequestOptions(PasskeyJsonRequestOptions)
Sets the
BeginSignInRequest.PasskeysRequestOptions
for the request.
Note:Use of this method is not supported directly. If you are interested in using passkeys, use theJetpack libraries.
Parameters
passkeysRequestOptions | the
BeginSignInRequest.PasskeysRequestOptions for the request |
---|
public BeginSignInRequest.BuildersetPasswordRequestOptions(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 |
---|
public BeginSignInRequest.BuildersetPreferImmediatelyAvailableCredentials(boolean preferImmediatelyAvailableCredentials)
true if you prefer the operation to return immediately when there is no available credentials instead of falling back to discovering remote options, and false (default) otherwise.