Class OAuth2LoginConfigurer.TokenEndpointConfig

  • Enclosing class:
    OAuth2LoginConfigurer<B extends HttpSecurityBuilder<B>>

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

      • accessTokenResponseClient

        public OAuth2LoginConfigurer.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.TokenEndpointConfig for further configuration