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
-
Method Details
-
test
Performs a single check on the given token verifier.- Parameters:
t
- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-