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 Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<AuthenticationResponse>
handle
(OpenIdAuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OpenIdProviderMetadata openIdProviderMetadata, @Nullable OpenIdAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint) Receives the authorization response and ultimately returns the authentication response.
-
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 responseclientConfiguration
- The client configurationopenIdProviderMetadata
- The provider metadataauthenticationMapper
- The user details mappertokenEndpoint
- The token endpoint- Returns:
- An authentication response publisher
-