Interface OauthAuthorizationResponseHandler
- All Known Implementing Classes:
DefaultOauthAuthorizationResponseHandler
@DefaultImplementation(DefaultOauthAuthorizationResponseHandler.class)
public interface OauthAuthorizationResponseHandler
Responsible for handling the authorization callback response
from an OAuth 2.0 provider.
- Since:
- 1.2.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<AuthenticationResponse>
handle
(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint) Receives the authorization response and ultimately returns the authentication response.
-
Method Details
-
handle
org.reactivestreams.Publisher<AuthenticationResponse> handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint) Receives the authorization response and ultimately returns the authentication response.- Parameters:
authorizationResponse
- The authorization responseclientConfiguration
- The client configurationauthenticationMapper
- The authetncation mappertokenEndpoint
- The token endpoint- Returns:
- An authentication response publisher
-