@EachBean(value=OauthClient.class) public class DefaultOauthController extends java.lang.Object implements OauthController
OauthController.| Modifier and Type | Method and Description | 
|---|---|
| org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> | callback(io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request)Receives the authorization callback from the OAuth 2.0 provider
 and responds to the user. | 
| OauthClient | getClient() | 
| org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> | login(io.micronaut.http.HttpRequest<?> request)Performs an authorization redirect to an OAuth 2.0 provider. | 
public OauthClient getClient()
getClient in interface OauthControllerpublic org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> login(io.micronaut.http.HttpRequest<?> request)
OauthControllerlogin in interface OauthControllerrequest - The current requestpublic org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> callback(io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request)
OauthControllercallback in interface OauthControllerrequest - The current request