Package org.keycloak.sdjwt
Interface ClaimVerifier.Predicate<T>
- Type Parameters:
T- Type of the token handled by this predicate.
- All Known Implementing Classes:
ClaimVerifier.AudienceCheck,ClaimVerifier.ClaimCheck,ClaimVerifier.ExpCheck,ClaimVerifier.IatLifetimeCheck,ClaimVerifier.NbfCheck,ClaimVerifier.NegatedClaimCheck
- Enclosing class:
- ClaimVerifier
public static interface ClaimVerifier.Predicate<T>
Functional interface of checks that verify some part of a JWT.
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstantbooleanPerforms a single check on the given token verifier.
-
Method Details
-
test
Performs a single check on the given token verifier.- Parameters:
t- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-
getCurrentTimestamp
-