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