public final class OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer |
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.
|
OAuth2ClientConfigurer<B> |
and()
Returns the
OAuth2ClientConfigurer for further configuration. |
OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer |
authorizationRequestRepository(org.springframework.security.oauth2.client.web.AuthorizationRequestRepository<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> authorizationRequestRepository)
Sets the repository used for storing
OAuth2AuthorizationRequest's. |
OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer |
authorizationRequestResolver(org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestResolver authorizationRequestResolver)
Sets the resolver used for resolving
OAuth2AuthorizationRequest's. |
public OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer authorizationRequestResolver(org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestResolver authorizationRequestResolver)
OAuth2AuthorizationRequest's.authorizationRequestResolver - the resolver used for resolving
OAuth2AuthorizationRequest'sOAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer for further configurationpublic OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer authorizationRequestRepository(org.springframework.security.oauth2.client.web.AuthorizationRequestRepository<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> authorizationRequestRepository)
OAuth2AuthorizationRequest's.authorizationRequestRepository - the repository used for storing
OAuth2AuthorizationRequest'sOAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer for further configurationpublic OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer accessTokenResponseClient(org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient)
accessTokenResponseClient - the client used for requesting the access
token credential from the Token EndpointOAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer for further configurationpublic OAuth2ClientConfigurer<B> and()
OAuth2ClientConfigurer for further configuration.OAuth2ClientConfigurer