@ThreadSafe public class DefaultJWTClaimsVerifier extends Object implements JWTClaimsVerifier
Performs the following checks:
This class may be extended to perform additional checks.
Constructor and Description |
---|
DefaultJWTClaimsVerifier() |
Modifier and Type | Method and Description |
---|---|
void |
verify(JWTClaimsSet claimsSet)
Performs verification of selected or all claims in the specified JWT
claims set.
|
public DefaultJWTClaimsVerifier()
public void verify(JWTClaimsSet claimsSet) throws BadJWTException
JWTClaimsVerifier
verify
in interface JWTClaimsVerifier
claimsSet
- The JWT claims set. Not null
.BadJWTException
- If the JWT claims set is rejected.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.