Class DefaultOauthAuthorizationResponseHandler
- java.lang.Object
-
- io.micronaut.security.oauth2.endpoint.authorization.response.DefaultOauthAuthorizationResponseHandler
-
- All Implemented Interfaces:
OauthAuthorizationResponseHandler
@Singleton public class DefaultOauthAuthorizationResponseHandler extends java.lang.Object implements OauthAuthorizationResponseHandler
Default implementation ofOauthAuthorizationResponseHandler
.- Since:
- 1.2.0
- Author:
- James Kleeh
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactivestreams.Publisher<AuthenticationResponse>
handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthUserDetailsMapper userDetailsMapper, SecureEndpoint tokenEndpoint)
Receives the authorization response and ultimately returns the authentication response.
-
-
-
Method Detail
-
handle
public org.reactivestreams.Publisher<AuthenticationResponse> handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthUserDetailsMapper userDetailsMapper, SecureEndpoint tokenEndpoint)
Description copied from interface:OauthAuthorizationResponseHandler
Receives the authorization response and ultimately returns the authentication response.- Specified by:
handle
in interfaceOauthAuthorizationResponseHandler
- Parameters:
authorizationResponse
- The authorization responseclientConfiguration
- The client configurationuserDetailsMapper
- The user details mappertokenEndpoint
- The token endpoint- Returns:
- An authentication response publisher
-
-