Package org.wildfly.security.http.oidc
Class TokenValidator.TypeValidator
- java.lang.Object
-
- org.wildfly.security.http.oidc.TokenValidator.TypeValidator
-
- All Implemented Interfaces:
org.jose4j.jwt.consumer.ErrorCodeValidator
- Enclosing class:
- TokenValidator
private static class TokenValidator.TypeValidator extends Object implements org.jose4j.jwt.consumer.ErrorCodeValidator
-
-
Field Summary
Fields Modifier and Type Field Description private String
expectedType
static String
TYPE
-
Constructor Summary
Constructors Constructor Description TypeValidator(String expectedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jose4j.jwt.consumer.ErrorCodeValidator.Error
validate(org.jose4j.jwt.consumer.JwtContext jwtContext)
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
expectedType
private final String expectedType
-
-
Constructor Detail
-
TypeValidator
public TypeValidator(String expectedType)
-
-
Method Detail
-
validate
public org.jose4j.jwt.consumer.ErrorCodeValidator.Error validate(org.jose4j.jwt.consumer.JwtContext jwtContext) throws org.jose4j.jwt.MalformedClaimException
- Specified by:
validate
in interfaceorg.jose4j.jwt.consumer.ErrorCodeValidator
- Throws:
org.jose4j.jwt.MalformedClaimException
-
-