@FunctionalInterface
public interface OAuth2AuthenticationValidator
Authentication associated to the OAuth2AuthenticationContext.OAuth2AuthenticationContext| Modifier and Type | Method and Description |
|---|---|
void |
validate(OAuth2AuthenticationContext authenticationContext)
Validate the attribute(s) of the
Authentication. |
void validate(OAuth2AuthenticationContext authenticationContext) throws org.springframework.security.oauth2.core.OAuth2AuthenticationException
Authentication.authenticationContext - the authentication contextorg.springframework.security.oauth2.core.OAuth2AuthenticationException - if the attribute(s) of the Authentication is invalid