Package com.auth0.jwt.interfaces
Interface DecodedJWT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHeader()
Getter for the Header contained in the JWT as a Base64 encoded String.String
getPayload()
Getter for the Payload contained in the JWT as a Base64 encoded String.String
getSignature()
Getter for the Signature contained in the JWT as a Base64 encoded String.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, getId, getIssuedAt, getIssuer, getNotBefore, getSubject
-
-
-
-
Method Detail
-
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.
-
-