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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<AuthenticationResponse>
handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthUserDetailsMapper userDetailsMapper, SecureEndpoint tokenEndpoint)
Receives the authorization response and ultimately returns the authentication response.
-
-
-
Method Detail
-
handle
org.reactivestreams.Publisher<AuthenticationResponse> handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthUserDetailsMapper userDetailsMapper, SecureEndpoint tokenEndpoint)
Receives the authorization response and ultimately returns the authentication response.- Parameters:
authorizationResponse
- The authorization responseclientConfiguration
- The client configurationuserDetailsMapper
- The user details mappertokenEndpoint
- The token endpoint- Returns:
- An authentication response publisher
-
-