BeginSignInRequest.Builder

public static final class BeginSignInRequest.Builder extends Object

Builder for BeginSignInRequest.

Public Constructor Summary

Public Method Summary

BeginSignInRequest
build()
Returns the built BeginSignInRequest.
BeginSignInRequest.Builder
BeginSignInRequest.Builder

Inherited Method Summary

Public Constructors

public BeginSignInRequest.Builder ()

Public Methods

public BeginSignInRequest build ()

Returns the built BeginSignInRequest.

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