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