public final class JWTVerifier
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JWTVerifier.BaseVerification
The Verification class holds the Claims required by a JWT to be valid.
|
| Modifier and Type | Method and Description |
|---|---|
DecodedJWT |
verify(java.lang.String token)
Perform the verification against the given Token, using any previous configured options.
|
public DecodedJWT verify(java.lang.String token) throws JWTVerificationException
token - to verify.JWTVerificationException - if any of the required contents inside the JWT is invalid.