public interface JWTDecoder
| Modifier and Type | Method and Description |
|---|---|
com.nimbusds.jwt.ReadOnlyJWTClaimsSet |
decodeJWT(com.nimbusds.jwt.JWT jwt)
Decodes a JWT object, then applies JWS signature validation and / or
JWE decryption if the token is secured.
|
com.nimbusds.jwt.ReadOnlyJWTClaimsSet decodeJWT(com.nimbusds.jwt.JWT jwt) throws com.nimbusds.jose.JOSEException, java.text.ParseException
jwt - The JWT to decode. Must not be null.com.nimbusds.jose.JOSEException - If decoding, JWS validation and / or JWE
decryption of the JWT failed.java.text.ParseException - If parsing of the JWT claims set failed.Copyright © 2014 Connect2id Ltd.. All Rights Reserved.