public interface JWTClaimsSetVerifier<C extends SecurityContext>
processed complies with an application's requirements.
An application may implement JWT claims checks such as:
| Modifier and Type | Method and Description |
|---|---|
void |
verify(JWTClaimsSet claimsSet,
C context)
Verifies selected or all claims from the specified JWT claims set.
|
void verify(JWTClaimsSet claimsSet, C context) throws BadJWTException
claimsSet - The JWT claims set. Not null.context - Optional context, null if not required.BadJWTException - If the JWT claims set is rejected.Copyright © 2019 Connect2id Ltd.. All rights reserved.