Package org.keycloak
Class TokenVerifier.IssuedForCheck
- java.lang.Object
-
- org.keycloak.TokenVerifier.IssuedForCheck
-
- All Implemented Interfaces:
TokenVerifier.Predicate<JsonWebToken>
- Enclosing class:
- TokenVerifier<T extends JsonWebToken>
public static class TokenVerifier.IssuedForCheck extends Object implements TokenVerifier.Predicate<JsonWebToken>
-
-
Constructor Summary
Constructors Constructor Description IssuedForCheck(String expectedIssuedFor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(JsonWebToken jsonWebToken)
Performs a single check on the given token verifier.
-
-
-
Constructor Detail
-
IssuedForCheck
public IssuedForCheck(String expectedIssuedFor)
-
-
Method Detail
-
test
public boolean test(JsonWebToken jsonWebToken) throws VerificationException
Description copied from interface:TokenVerifier.Predicate
Performs a single check on the given token verifier.- Specified by:
test
in interfaceTokenVerifier.Predicate<JsonWebToken>
- Parameters:
jsonWebToken
- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-
-