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 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 response
      clientConfiguration - The client configuration
      authenticationMapper - The authetncation mapper
      tokenEndpoint - The token endpoint
      Returns:
      An authentication response publisher