Class OAuth2TokenExchangeAuthenticationConverter

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

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

    • OAuth2TokenExchangeAuthenticationConverter

      public OAuth2TokenExchangeAuthenticationConverter()
  • 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