Class OAuth2AuthorizationConsentAuthenticationConverter

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

public final class OAuth2AuthorizationConsentAuthenticationConverter extends Object implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract an Authorization Consent from HttpServletRequest for the OAuth 2.0 Authorization Code Grant and then converts it to an OAuth2AuthorizationConsentAuthenticationToken used for authenticating the request.
Since:
0.4.0
See Also:
  • Constructor Details

    • OAuth2AuthorizationConsentAuthenticationConverter

      public OAuth2AuthorizationConsentAuthenticationConverter()
  • Method Details

    • convert

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