Class OAuth2AuthorizationConsentAuthenticationConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.OAuth2AuthorizationConsentAuthenticationConverter
- All Implemented Interfaces:
AuthenticationConverter
public final class OAuth2AuthorizationConsentAuthenticationConverter
extends Object
implements AuthenticationConverter
Attempts to extract an Authorization Consent from
HttpServletRequest for the
OAuth 2.0 Authorization Code Grant and then converts it to an
OAuth2AuthorizationConsentAuthenticationToken used for authenticating the
request.- Since:
- 7.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Authenticationconvert(jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
OAuth2AuthorizationConsentAuthenticationConverter
public OAuth2AuthorizationConsentAuthenticationConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceAuthenticationConverter
-