static PasetoParserBuilder |
Pasetos.parserBuilder() |
|
default PasetoParserBuilder |
PasetoParserBuilder.require(java.lang.String claimName,
java.lang.Object value) |
Ensures that the specified claimName exists in the parsed Paseto.
|
PasetoParserBuilder |
PasetoParserBuilder.require(java.lang.String claimName,
java.util.function.Predicate<java.lang.Object> value) |
|
default PasetoParserBuilder |
PasetoParserBuilder.requireAudience(java.lang.String aud) |
Ensures that the specified aud exists in the parsed Paseto.
|
default PasetoParserBuilder |
PasetoParserBuilder.requireExpiration(java.time.Instant exp) |
Ensures that the specified exp exists in the parsed Paseto.
|
PasetoParserBuilder |
PasetoParserBuilder.requireFooter(java.lang.String claimName,
java.util.function.Predicate<java.lang.Object> value) |
|
default PasetoParserBuilder |
PasetoParserBuilder.requireIssuedAt(java.time.Instant iat) |
Ensures that the specified iat exists in the parsed Paseto.
|
default PasetoParserBuilder |
PasetoParserBuilder.requireIssuer(java.lang.String iss) |
Ensures that the specified iss exists in the parsed Paseto.
|
default PasetoParserBuilder |
PasetoParserBuilder.requireKeyId(java.lang.String kid) |
Ensures that the specified kid exists in the parsed Paseto footer.
|
default PasetoParserBuilder |
PasetoParserBuilder.requireNotBefore(java.time.Instant nbf) |
Ensures that the specified nbf exists in the parsed Paseto.
|
default PasetoParserBuilder |
PasetoParserBuilder.requireSubject(java.lang.String sub) |
Ensures that the specified sub exists in the parsed Paseto.
|
default PasetoParserBuilder |
PasetoParserBuilder.requireTokenId(java.lang.String jti) |
Ensures that the specified jti exists in the parsed Paseto.
|
PasetoParserBuilder |
PasetoParserBuilder.setAllowedClockSkew(java.time.Duration allowedClockSkew) |
Sets the amount of clock skew tolerate when verifying the local time against the exp
and nbf claims.
|
PasetoParserBuilder |
PasetoParserBuilder.setClock(java.time.Clock clock) |
Sets the Clock that determines the timestamp to use when validating the parsed Paseto.
|
PasetoParserBuilder |
PasetoParserBuilder.setDeserializer(Deserializer<java.util.Map<java.lang.String,java.lang.Object>> deserializer) |
|
PasetoParserBuilder |
PasetoParserBuilder.setKeyResolver(KeyResolver keyResolver) |
Sets the KeyResolver used to acquire the signing key that should be used to verify
a paseto tokens's signature.
|
PasetoParserBuilder |
PasetoParserBuilder.setPublicKey(java.security.PublicKey publicKey) |
|
default PasetoParserBuilder |
PasetoParserBuilder.setSharedSecret(byte[] sharedSecret) |
|
PasetoParserBuilder |
PasetoParserBuilder.setSharedSecret(javax.crypto.SecretKey sharedSecret) |
|