Package org.keycloak
Interface TokenVerifier.Predicate<T extends JsonWebToken>
-
- Type Parameters:
T- Type of the token handled by this predicate.
- All Known Implementing Classes:
LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken,LoginActionsServiceChecks.IsActionRequired,LoginActionsServiceChecks.IsRedirectValid,TokenManager.NotBeforeCheck,TokenManager.TokenRevocationCheck,TokenVerifier.AudienceCheck,TokenVerifier.IssuedForCheck,TokenVerifier.RealmUrlCheck,TokenVerifier.TokenTypeCheck
- Enclosing class:
- TokenVerifier<T extends JsonWebToken>
public static interface TokenVerifier.Predicate<T extends JsonWebToken>Functional interface of checks that verify some part of a JWT.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantest(T t)Performs a single check on the given token verifier.
-
-
-
Method Detail
-
test
boolean test(T t) throws VerificationException
Performs a single check on the given token verifier.- Parameters:
t- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-
-