Class OAuth2DeviceCodeAuthenticationConverter

java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.OAuth2DeviceCodeAuthenticationConverter
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter

public final class OAuth2DeviceCodeAuthenticationConverter extends Object implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract a Device Access Token Request from HttpServletRequest for the OAuth 2.0 Device Authorization Grant and then converts it to an OAuth2DeviceCodeAuthenticationToken used for authenticating the authorization grant.
Since:
1.1
See Also:
  • Constructor Details

    • OAuth2DeviceCodeAuthenticationConverter

      public OAuth2DeviceCodeAuthenticationConverter()
  • Method Details

    • convert

      @Nullable public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      convert in interface org.springframework.security.web.authentication.AuthenticationConverter