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