Interface OpenIdAuthorizationResponseHandler

All Known Implementing Classes:
DefaultOpenIdAuthorizationResponseHandler

@DefaultImplementation(DefaultOpenIdAuthorizationResponseHandler.class) public interface OpenIdAuthorizationResponseHandler
Responsible for handling the authorization callback response from an OpenID provider.
Since:
1.2.0
Author:
James Kleeh
  • Method Details

    • handle

      org.reactivestreams.Publisher<AuthenticationResponse> handle(OpenIdAuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata openIdProviderMetadata, @Nullable @Nullable OpenIdAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint)
      Receives the authorization response and ultimately returns the authentication response.
      Parameters:
      authorizationResponse - The authorization response
      clientConfiguration - The client configuration
      openIdProviderMetadata - The provider metadata
      authenticationMapper - The user details mapper
      tokenEndpoint - The token endpoint
      Returns:
      An authentication response publisher