public interface JWTDecoder
Modifier and Type | Method and Description |
---|---|
com.nimbusds.jwt.JWTClaimsSet |
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.JWTClaimsSet decodeJWT(com.nimbusds.jwt.JWT jwt) throws com.nimbusds.jose.JOSEException, 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.ParseException
- If parsing of the JWT claims set failed.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.