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
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<io.micronaut.security.authentication.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<io.micronaut.security.authentication.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
-