Package com.auth0.jwt.interfaces
Interface DecodedJWT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getHeader()
Getter for the Header contained in the JWT as a Base64 encoded String.java.lang.String
getPayload()
Getter for the Payload contained in the JWT as a Base64 encoded String.java.lang.String
getSignature()
Getter for the Signature contained in the JWT as a Base64 encoded String.java.lang.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 Detail
-
getToken
java.lang.String getToken()
Getter for the String Token used to create this JWT instance.- Returns:
- the String Token.
-
getHeader
java.lang.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
java.lang.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
java.lang.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.
-
-