JadeJWTParser Methods
The methods defined in the JadeJWTParser class are summarized in the following table.
Method | Description |
---|---|
decodeToken | Decodes a JSON Web Token from Base64‑encoding into plain text |
getAudiences | Parses a JSON Web Token for all values of the audience (aud) claim and populates the provided StringArray with them |
getClaimValue | Parses a JSON Web Token for the specified claim and returns the value of that claim |
getExpiry | Parses a JSON Web Token for the expiry (exp) claim and returns the value of that claim |
getIssuer | Parses a JSON Web Token for the issuer (iss) claim and returns the value of that claim |
getJwtId | Parses a JSON Web Token for the JSON Web Token identifier (id) claim and returns the value of that claim |
getKeyId | Parses a JSON Web Token for the key identifier (kid) claim and returns the value of that claim |
getNotBefore | Parses a JSON Web Token for the not before (nbf) claim and returns the value of that claim |
getSubject | Parses a JSON Web Token for the subject (sub) claim and returns the value of that claim |
2020.0.01 and higher