Class OAuth2LoginConfigurer.TokenEndpointConfig

java.lang.Object
org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer.TokenEndpointConfig
Enclosing class:
OAuth2LoginConfigurer<B extends HttpSecurityBuilder<B>>

public final class OAuth2LoginConfigurer.TokenEndpointConfig extends Object
Configuration options for the Authorization Server's Token Endpoint.
  • Method Details

    • accessTokenResponseClient

      public OAuth2LoginConfigurer<B>.TokenEndpointConfig accessTokenResponseClient(org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient)
      Sets the client used for requesting the access token credential from the Token Endpoint.
      Parameters:
      accessTokenResponseClient - the client used for requesting the access token credential from the Token Endpoint
      Returns:
      the OAuth2LoginConfigurer<B extends HttpSecurityBuilder<B>>.TokenEndpointConfig for further configuration