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 Summary
ConstructorsConstructorDescriptionConfigurableAuthorizationCodeTokenResponseClient(org.springframework.http.client.ClientHttpRequestFactory httpRequestFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponsegetTokenResponse(org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest authorizationGrantRequest)
-
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:
getTokenResponsein interfaceorg.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest>
-