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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<io.micronaut.security.authentication.AuthenticationResponse>handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint)Receives the authorization response and ultimately returns the authentication response.
-
-
-
Method Detail
-
handle
org.reactivestreams.Publisher<io.micronaut.security.authentication.AuthenticationResponse> handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint)
Receives the authorization response and ultimately returns the authentication response.- Parameters:
authorizationResponse- The authorization responseclientConfiguration- The client configurationauthenticationMapper- The authetncation mappertokenEndpoint- The token endpoint- Returns:
- An authentication response publisher
-
-