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


public final class AuthenticationTokenHeader
 implements Parcelable
This class represents an immutable header for using AuthenticationToken. It includes all metadata or key values of the header
WARNING: This feature is currently in development and not intended for external usage.
Nested Class Summary
Modifier and TypeClassDescription
public classAuthenticationTokenHeader.Companion
Field Summary
Modifier and TypeFieldDescription
private final Stringalg
private final Stringtyp
private final Stringkid
Constructor Summary
ConstructorDescription
AuthenticationTokenHeader(String encodedHeaderString)
AuthenticationTokenHeader(String alg, String typ, String kid)
Method Summary
Modifier and TypeMethodDescription
final StringgetAlg() Value that represents the algorithm that was used to sign the JWT.
final StringgetTyp() The type of the JWT.
final StringgetKid() Key identifier used in identifying the key to be used to verify the signature.
UnitwriteToParcel(Parcel dest, Integer flags)
IntegerdescribeContents()
StringtoString()
Booleanequals(Object other)
IntegerhashCode()
final StringtoEnCodedString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

AuthenticationTokenHeader

AuthenticationTokenHeader(String encodedHeaderString)

AuthenticationTokenHeader

AuthenticationTokenHeader(String alg, String typ, String kid)
Method Detail

getAlg

 final StringgetAlg()
Value that represents the algorithm that was used to sign the JWT.

getTyp

 final StringgetTyp()
The type of the JWT.

getKid

 final StringgetKid()
Key identifier used in identifying the key to be used to verify the signature.

writeToParcel

UnitwriteToParcel(Parcel dest, Integer flags)

describeContents

IntegerdescribeContents()

toString

StringtoString()

equals

Booleanequals(Object other)

hashCode

IntegerhashCode()

toEnCodedString

 final StringtoEnCodedString()