Interface OAuth2TokenValidator<T extends AbstractOAuth2Token>
-
- All Known Implementing Classes:
DelegatingOAuth2TokenValidator
,JwtIssuerValidator
,JwtTimestampValidator
,OidcIdTokenValidator
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
-
-