GetSignInIntentRequest.Builder

public static final class GetSignInIntentRequest.Builder extends Object

Builder class for GetSignInIntentRequest.

Public Constructor Summary

Public Method Summary

GetSignInIntentRequest
GetSignInIntentRequest.Builder
filterByHostedDomain(String hostedDomainFilter)
Sets the hosted domain filter (e.g.
GetSignInIntentRequest.Builder
setNonce(String nonce)
Sets the nonce to use when generating a Google ID token.
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

public Builder ()

Public Methods

public GetSignInIntentRequest build ()

public GetSignInIntentRequest.Builder filterByHostedDomain (String hostedDomainFilter)

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

public GetSignInIntentRequest.Builder setNonce (String nonce)

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.Builder setServerClientId (String serverClientId)

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