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 java.lang.ObjectConfiguration options for the Authorization Server's Token Endpoint.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuth2LoginConfigurer.TokenEndpointConfigaccessTokenResponseClient(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.OAuth2LoginConfigurer<B>and()Returns theOAuth2LoginConfigurerfor further configuration.
-
-
-
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.TokenEndpointConfigfor further configuration
-
and
public OAuth2LoginConfigurer<B> and()
Returns theOAuth2LoginConfigurerfor further configuration.- Returns:
- the
OAuth2LoginConfigurer
-
-