GetSignInIntentRequest.Builder

public static final classGetSignInIntentRequest.BuilderextendsObject

Builder class forGetSignInIntentRequest.

Public Constructor Summary

Public Method Summary

GetSignInIntentRequest
GetSignInIntentRequest.Builder
filterByHostedDomain(String hostedDomainFilter)
Sets the hosted domain filter (e.g.
GetSignInIntentRequest.Builder
setNonce(Stringnonce)
Sets the nonce to use when generating a Google ID token.
GetSignInIntentRequest.Builder
setRequestVerifiedPhoneNumber(boolean requestsVerifiedPhoneNumber)
This method is deprecated. No replacement.
GetSignInIntentRequest.Builder
setServerClientId(String serverClientId)
Sets the client ID of the server that will verify the integrity of the token.

Inherited Method Summary

Public Constructors

publicBuilder()

Public Methods

publicGetSignInIntentRequest build()

public GetSignInIntentRequest.BuilderfilterByHostedDomain(String hostedDomainFilter)

Sets the hosted domain filter (e.g. myuniveristy.edu). Default is no filter.

public GetSignInIntentRequest.BuildersetNonce(Stringnonce)

Sets the nonce to use when generating a Google ID token. The values for nonce can be any random string and is used to prevent replay-attack. Default is no nonce.

Parameters
nonce the nonce to use during ID token generation

public GetSignInIntentRequest.BuildersetRequestVerifiedPhoneNumber(boolean requestsVerifiedPhoneNumber)

This method is deprecated.
No replacement.

Sets whether to prompt the users to share a verified phone number associated with their Google accounts.

Note that if the user selects a Google account which has previously been used to sign up to your app, they won't be prompted with the phone number selection.

public GetSignInIntentRequest.BuildersetServerClientId(String serverClientId)

Sets the client ID of the server that will verify the integrity of the token. Calling this method to set theserverClientIdis required.