Package com.auth0.jwt.interfaces
Interface DecodedJWT
Class that represents a Json Web Token that was decoded from it's string representation.
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the Header contained in the JWT as a Base64 encoded String.Getter for the Payload contained in the JWT as a Base64 encoded String.Getter for the Signature contained in the JWT as a Base64 encoded String.getToken()
Getter for the String Token used to create this JWT instance.Methods inherited from interface com.auth0.jwt.interfaces.Header
getAlgorithm, getContentType, getHeaderClaim, getKeyId, getType
Methods inherited from interface com.auth0.jwt.interfaces.Payload
getAudience, getClaim, getClaims, getExpiresAt, getExpiresAtAsInstant, getId, getIssuedAt, getIssuedAtAsInstant, getIssuer, getNotBefore, getNotBeforeAsInstant, getSubject
-
Method Details
-
getToken
String getToken()Getter for the String Token used to create this JWT instance.- Returns:
- the String Token.
-
getHeader
String getHeader()Getter for the Header contained in the JWT as a Base64 encoded String. This represents the first part of the token.- Returns:
- the Header of the JWT.
-
getPayload
String getPayload()Getter for the Payload contained in the JWT as a Base64 encoded String. This represents the second part of the token.- Returns:
- the Payload of the JWT.
-
getSignature
String getSignature()Getter for the Signature contained in the JWT as a Base64 encoded String. This represents the third part of the token.- Returns:
- the Signature of the JWT.
-