Package org.keycloak.protocol.oidc
Class TokenManager.TokenRevocationCheck
- java.lang.Object
-
- org.keycloak.protocol.oidc.TokenManager.TokenRevocationCheck
-
- All Implemented Interfaces:
TokenVerifier.Predicate<JsonWebToken>
- Enclosing class:
- TokenManager
public static class TokenManager.TokenRevocationCheck extends Object implements TokenVerifier.Predicate<JsonWebToken>
Check if access token was revoked with OAuth revocation endpoint
-
-
Constructor Summary
Constructors Constructor Description TokenRevocationCheck(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(JsonWebToken token)
Performs a single check on the given token verifier.
-
-
-
Constructor Detail
-
TokenRevocationCheck
public TokenRevocationCheck(KeycloakSession session)
-
-
Method Detail
-
test
public boolean test(JsonWebToken token)
Description copied from interface:TokenVerifier.Predicate
Performs a single check on the given token verifier.- Specified by:
test
in interfaceTokenVerifier.Predicate<JsonWebToken>
- Parameters:
token
- Token, guaranteed to be non-null.- Returns:
-
-