Class DefaultOauthAuthorizationResponseHandler
java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.response.DefaultOauthAuthorizationResponseHandler
- All Implemented Interfaces:
 OauthAuthorizationResponseHandler
@Singleton
public class DefaultOauthAuthorizationResponseHandler
extends Object
implements OauthAuthorizationResponseHandler
Default implementation of 
OauthAuthorizationResponseHandler.- Since:
 - 1.2.0
 - Author:
 - James Kleeh
 
- 
Constructor Summary
ConstructorsConstructorDescriptionDefaultOauthAuthorizationResponseHandler(TokenEndpointClient tokenEndpointClient, StateValidator stateValidator, PkcePersistence pkcePersistence)  - 
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<AuthenticationResponse>handle(AuthorizationResponse authorizationResponse, OauthClientConfiguration clientConfiguration, OauthAuthenticationMapper authenticationMapper, SecureEndpoint tokenEndpoint) Receives the authorization response and ultimately returns the authentication response. 
- 
Constructor Details
- 
DefaultOauthAuthorizationResponseHandler
public DefaultOauthAuthorizationResponseHandler(TokenEndpointClient tokenEndpointClient, @Nullable StateValidator stateValidator, @Nullable PkcePersistence pkcePersistence) - Parameters:
 tokenEndpointClient- The token endpoint clientstateValidator- The state validatorpkcePersistence- The PKCE Persistence
 
 - 
 - 
Method Details
- 
handle
public org.reactivestreams.Publisher<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
 
 
 -