Android SDK Version
All Implemented Interfaces:
android.os.Parcelable


public final class AuthenticationToken
 implements Parcelable
This class represents an immutable Authentication Token (or so called "id token") for using Facebook Login. It includes the three component that constructs the token HEADER.PAYLOAD.SIGNATURE
WARNING: This feature is currently in development and not intended for external usage.
Nested Class Summary
Modifier and TypeClassDescription
public classAuthenticationToken.Companion
Field Summary
Modifier and TypeFieldDescription
private final Stringtoken
private final StringexpectedNonce
private final AuthenticationTokenHeaderheader
private final AuthenticationTokenClaimsclaims
private final Stringsignature
Constructor Summary
ConstructorDescription
AuthenticationToken(String token, String expectedNonce)
Method Summary
Modifier and TypeMethodDescription
final StringgetToken() Gets the raw string of the AuthenticationToken (or id_token)
final StringgetExpectedNonce() Expected nonce - used in Login Configuration
final AuthenticationTokenHeadergetHeader() Header component of the AuthenticationToken
final AuthenticationTokenClaimsgetClaims() Payload component of the AuthenticationToken
final StringgetSignature() Signature component of the id_token TODO: create a new class for the signature part
Booleanequals(Object other)
IntegerhashCode()
UnitwriteToParcel(Parcel dest, Integer flags)
IntegerdescribeContents()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

AuthenticationToken

AuthenticationToken(String token, String expectedNonce)
Method Detail

getToken

 final StringgetToken()
Gets the raw string of the AuthenticationToken (or id_token)

getExpectedNonce

 final StringgetExpectedNonce()
Expected nonce - used in Login Configuration

getHeader

 final AuthenticationTokenHeadergetHeader()
Header component of the AuthenticationToken

getClaims

 final AuthenticationTokenClaimsgetClaims()
Payload component of the AuthenticationToken

getSignature

 final StringgetSignature()
Signature component of the id_token TODO: create a new class for the signature part

equals

Booleanequals(Object other)

hashCode

IntegerhashCode()

writeToParcel

UnitwriteToParcel(Parcel dest, Integer flags)

describeContents

IntegerdescribeContents()