public class JsonWebTokenValidator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonWebTokenValidator.Builder |
Constructor and Description |
---|
JsonWebTokenValidator(java.util.function.Predicate<JsonWebToken> validation,
java.security.Key verificationKey,
java.lang.String issuer,
java.util.Map<java.lang.String,java.security.Key> verificationKeys,
boolean allowNoExpiryClaim) |
Modifier and Type | Method and Description |
---|---|
static JsonWebTokenValidator.Builder |
builder() |
JsonWebToken |
validate(java.lang.String token) |
public JsonWebTokenValidator(java.util.function.Predicate<JsonWebToken> validation, java.security.Key verificationKey, java.lang.String issuer, java.util.Map<java.lang.String,java.security.Key> verificationKeys, boolean allowNoExpiryClaim)
public JsonWebToken validate(java.lang.String token) throws ParseException
ParseException
public static JsonWebTokenValidator.Builder builder()