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
-
-
Method Summary
All Methods Instance Methods Concrete 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
public org.reactivestreams.Publisher<io.micronaut.security.authentication.AuthenticationResponse> handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint)
Description copied from interface:OauthAuthorizationResponseHandlerReceives the authorization response and ultimately returns the authentication response.- Specified by:
handlein interfaceOauthAuthorizationResponseHandler- Parameters:
authorizationResponse- The authorization responseclientConfiguration- The client configurationauthenticationMapper- The authetncation mappertokenEndpoint- The token endpoint- Returns:
- An authentication response publisher
-
-