SaveAccountLinkingTokenRequest

public class SaveAccountLinkingTokenRequest extends Object
implements Parcelable Parcelable

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.Builder that can be used to build an instance of SaveAccountLinkingTokenRequest.
boolean
PendingIntent
getConsentPendingIntent()
Returns the PendingIntent 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(Parcel dest, int flags)

Inherited Method Summary

Constants

public static final String EXTRA_TOKEN

Constant Value: "extra_token"

public static final String 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.Builder builder ()

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

public boolean equals (Object o)

public PendingIntent getConsentPendingIntent ()

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

public List<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.

public String getServiceId ()

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

public String getTokenType ()

Returns the type of token that is requested.

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)