IdToken

public final class IdToken extends AbstractSafeParcelable
implements Parcelable

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

Inherited Constant Summary

Field Summary

public static final Creator<IdToken> CREATOR

Public Constructor Summary

IdToken(String accountType, String idToken)

Public Method Summary

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)

Inherited Method Summary

Fields

public static final Creator<IdToken> CREATOR

Public Constructors

public IdToken (String accountType, String idToken)

Public Methods

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)