Class ConfigurableAuthorizationCodeTokenResponseClient

java.lang.Object
net.optionfactory.spring.authentication.code.ConfigurableAuthorizationCodeTokenResponseClient
All Implemented Interfaces:
org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest>

public class ConfigurableAuthorizationCodeTokenResponseClient extends Object implements org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest>
  • Constructor Details

    • ConfigurableAuthorizationCodeTokenResponseClient

      public ConfigurableAuthorizationCodeTokenResponseClient(org.springframework.http.client.ClientHttpRequestFactory httpRequestFactory)
  • Method Details

    • getTokenResponse

      public org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse getTokenResponse(org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest authorizationGrantRequest)
      Specified by:
      getTokenResponse in interface org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest>