public static class JsonWebTokenValidator.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JsonWebTokenValidator.Builder |
add(java.util.function.Predicate<JsonWebToken> validation) |
JsonWebTokenValidator.Builder |
allowNoExpiryClaim(boolean allowNoExpiryClaim) |
JsonWebTokenValidator |
build() |
JsonWebTokenValidator.Builder |
issuer(java.lang.String iss) |
JsonWebTokenValidator.Builder |
publicKey(java.lang.String keyContent) |
JsonWebTokenValidator.Builder |
verificationKey(java.security.Key key) |
JsonWebTokenValidator.Builder |
verificationKey(java.util.Map<java.lang.String,java.security.Key> key) |
JsonWebTokenValidator.Builder |
verificationKeys(java.util.List<JsonWebKey> keys) |
public JsonWebTokenValidator.Builder add(java.util.function.Predicate<JsonWebToken> validation)
public JsonWebTokenValidator.Builder publicKey(java.lang.String keyContent)
public JsonWebTokenValidator.Builder verificationKey(java.security.Key key)
public JsonWebTokenValidator.Builder verificationKey(java.util.Map<java.lang.String,java.security.Key> key)
public JsonWebTokenValidator build()
public JsonWebTokenValidator.Builder verificationKeys(java.util.List<JsonWebKey> keys)
public JsonWebTokenValidator.Builder issuer(java.lang.String iss)
public JsonWebTokenValidator.Builder allowNoExpiryClaim(boolean allowNoExpiryClaim)