Android APIs
public final class

IdToken

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.auth.api.credentials.IdToken

Class Overview

A token that is signed by an Authenticator to confirm that the account specified in the idToken is a valid account of accountType.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<IdToken> CREATOR
Public Constructors
IdToken(String accountType, String idToken)
Public Methods
int describeContents()
String getAccountType()
Returns AccountManager account type for the token.
String getIdToken()
Returns the ID token, formatted according to the rules defined by the account type.
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<IdToken> CREATOR

Public Constructors

public IdToken (String accountType, String idToken)

Public Methods

public int describeContents ()

public String getAccountType ()

Returns AccountManager account type for the token.

public String getIdToken ()

Returns the ID token, formatted according to the rules defined by the account type.

public void writeToParcel (Parcel out, int flags)