Class OAuth2DeviceAuthorizationRequestAuthenticationConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.OAuth2DeviceAuthorizationRequestAuthenticationConverter
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
public final class OAuth2DeviceAuthorizationRequestAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract a Device Authorization Request from
HttpServletRequest
for the
OAuth 2.0 Device Authorization Grant and then converts it to an
OAuth2DeviceAuthorizationRequestAuthenticationToken
used for authenticating
the request.- Since:
- 1.1
- See Also:
-
AuthenticationConverter
OAuth2DeviceAuthorizationRequestAuthenticationToken
OAuth2DeviceAuthorizationEndpointFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
convert
(jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
OAuth2DeviceAuthorizationRequestAuthenticationConverter
public OAuth2DeviceAuthorizationRequestAuthenticationConverter()
-
-
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
-