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