Interface OAuth2TokenValidator<T extends AbstractOAuth2Token>
-
- All Known Implementing Classes:
DelegatingOAuth2TokenValidator
,JwtClaimValidator
,JwtIssuerValidator
,JwtTimestampValidator
,OidcIdTokenValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OAuth2TokenValidator<T extends AbstractOAuth2Token>
Implementations of this interface are responsible for "verifying" the validity and/or constraints of the attributes contained in an OAuth 2.0 Token.- Since:
- 5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuth2TokenValidatorResult
validate(T token)
Verify the validity and/or constraints of the provided OAuth 2.0 Token.
-
-
-
Method Detail
-
validate
OAuth2TokenValidatorResult validate(T token)
Verify the validity and/or constraints of the provided OAuth 2.0 Token.- Parameters:
token
- an OAuth 2.0 token- Returns:
- OAuth2TokenValidationResult the success or failure detail of the validation
-
-