@FunctionalInterface
public interface OAuth2AuthenticationValidator
Authentication associated to the OAuth2AuthenticationContext.OAuth2AuthenticationContext| 限定符和类型 | 方法和说明 |
|---|---|
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