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