public final class OAuth2TokenRevocationAuthenticationProvider
extends java.lang.Object
implements org.springframework.security.authentication.AuthenticationProvider
AuthenticationProvider implementation for OAuth 2.0 Token Revocation.OAuth2TokenRevocationAuthenticationToken,
OAuth2AuthorizationService,
Section 2.1 Revocation Request| Constructor and Description |
|---|
OAuth2TokenRevocationAuthenticationProvider(OAuth2AuthorizationService authorizationService)
Constructs an
OAuth2TokenRevocationAuthenticationProvider using the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
boolean |
supports(java.lang.Class<?> authentication) |
public OAuth2TokenRevocationAuthenticationProvider(OAuth2AuthorizationService authorizationService)
OAuth2TokenRevocationAuthenticationProvider using the provided parameters.authorizationService - the authorization servicepublic org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(java.lang.Class<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProvider