SaveAccountLinkingTokenRequest

public classSaveAccountLinkingTokenRequestextendsObject
implementsParcelableParcelable

Configurations that allow saving a token to Google for the purpose of account linking.

Nested Class Summary

class SaveAccountLinkingTokenRequest.Builder Builder for SaveAccountLinkingTokenRequest.

Constant Summary

String EXTRA_TOKEN
String TOKEN_TYPE_AUTH_CODE A constant to indicate that the type of token that will be saved is an Authorization Code.

Inherited Constant Summary

Public Method Summary

static SaveAccountLinkingTokenRequest.Builder
builder()
Returns an instance of the SaveAccountLinkingTokenRequest.Builderthat can be used to build an instance of SaveAccountLinkingTokenRequest.
boolean
PendingIntent
getConsentPendingIntent()
Returns thePendingIntent that is set in the request and will be used to launch the consent page by Google Play Services during the flow.
List<String>
getScopes()
Returns the scopes that were set in the request.
String
getServiceId()
Returns the service-id that was set in the request.
String
getTokenType()
Returns the type of token that is requested.
int
void
writeToParcel(Parceldest, int flags)

Inherited Method Summary

Constants

public static finalString EXTRA_TOKEN

Constant Value:"extra_token"

public static finalString TOKEN_TYPE_AUTH_CODE

A constant to indicate that the type of token that will be saved is an Authorization Code.

Constant Value:"auth_code"

Public Methods

public static SaveAccountLinkingTokenRequest.Builderbuilder()

Returns an instance of the SaveAccountLinkingTokenRequest.Builderthat can be used to build an instance of SaveAccountLinkingTokenRequest.

public booleanequals(Objecto)

publicPendingIntent getConsentPendingIntent()

Returns thePendingIntent that is set in the request and will be used to launch the consent page by Google Play Services during the flow.

publicList<String> getScopes()

Returns the scopes that were set in the request. These are the requested scopes for the token that will be issued by your application.

publicStringgetServiceId()

Returns the service-id that was set in the request. This service-id can be found in your cloud project.

publicStringgetTokenType()

Returns the type of token that is requested.

public inthashCode()

public voidwriteToParcel(Parceldest, int flags)