Class OAuth2AuthorizationCodeRequestAuthenticationConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.OAuth2AuthorizationCodeRequestAuthenticationConverter
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
public final class OAuth2AuthorizationCodeRequestAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract an Authorization Request from
HttpServletRequest
for the OAuth 2.0 Authorization Code Grant and then converts it to
an OAuth2AuthorizationCodeRequestAuthenticationToken
used for authenticating the request.- Since:
- 0.1.2
- See Also:
-
AuthenticationConverter
OAuth2AuthorizationCodeRequestAuthenticationToken
OAuth2AuthorizationEndpointFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
convert
(jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
OAuth2AuthorizationCodeRequestAuthenticationConverter
public OAuth2AuthorizationCodeRequestAuthenticationConverter()
-
-
Method Details
-
convert
public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request) - Specified by:
convert
in interfaceorg.springframework.security.web.authentication.AuthenticationConverter
-