public interface OauthClient
OauthController
.
A controller is created for each client bean and routes for the controller
are registered in a route builder.Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> |
authorizationRedirect(io.micronaut.http.HttpRequest<?> originating)
Responsible for redirecting to the authorization endpoint.
|
java.lang.String |
getName() |
org.reactivestreams.Publisher<AuthenticationResponse> |
onCallback(io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request)
Responsible for receiving the authorization callback request and returning
an authentication response.
|
java.lang.String getName()
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> authorizationRedirect(io.micronaut.http.HttpRequest<?> originating)
originating
- The originating requestorg.reactivestreams.Publisher<AuthenticationResponse> onCallback(io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request)
request
- The callback request