Package org.keycloak.sdjwt
Class ClaimVerifier.IatLifetimeCheck
java.lang.Object
org.keycloak.sdjwt.ClaimVerifier.TimeCheck
org.keycloak.sdjwt.ClaimVerifier.IatLifetimeCheck
- All Implemented Interfaces:
ClaimVerifier.Predicate<com.fasterxml.jackson.databind.node.ObjectNode>
- Enclosing class:
- ClaimVerifier
public static class ClaimVerifier.IatLifetimeCheck
extends ClaimVerifier.TimeCheck
implements ClaimVerifier.Predicate<com.fasterxml.jackson.databind.node.ObjectNode>
-
Field Summary
Fields inherited from class org.keycloak.sdjwt.ClaimVerifier.TimeCheck
clockSkewSeconds -
Constructor Summary
ConstructorsConstructorDescriptionIatLifetimeCheck(int clockSkewSeconds, long maxLifetime) IatLifetimeCheck(int clockSkewSeconds, long maxLifetime, boolean isOptional) -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(com.fasterxml.jackson.databind.node.ObjectNode jsonWebToken) Performs a single check on the given token verifier.Methods inherited from class org.keycloak.sdjwt.ClaimVerifier.TimeCheck
getClockSkewSeconds, setClockSkewSecondsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.sdjwt.ClaimVerifier.Predicate
getCurrentTimestamp
-
Constructor Details
-
IatLifetimeCheck
public IatLifetimeCheck(int clockSkewSeconds, long maxLifetime) -
IatLifetimeCheck
public IatLifetimeCheck(int clockSkewSeconds, long maxLifetime, boolean isOptional)
-
-
Method Details
-
test
public boolean test(com.fasterxml.jackson.databind.node.ObjectNode jsonWebToken) throws VerificationException Description copied from interface:ClaimVerifier.PredicatePerforms a single check on the given token verifier.- Specified by:
testin interfaceClaimVerifier.Predicate<com.fasterxml.jackson.databind.node.ObjectNode>- Parameters:
jsonWebToken- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-