@Singleton public class DefaultEndSessionController extends java.lang.Object implements EndSessionController
Constructor and Description |
---|
DefaultEndSessionController(ProviderResolver providerResolver,
io.micronaut.context.BeanContext beanContext) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<io.micronaut.http.HttpResponse> |
endSession(io.micronaut.http.HttpRequest request,
Authentication authentication)
Performs and end session redirect to an OpenID provider.
|
public DefaultEndSessionController(ProviderResolver providerResolver, io.micronaut.context.BeanContext beanContext)
providerResolver
- The provider resolverbeanContext
- The bean contextpublic java.util.Optional<io.micronaut.http.HttpResponse> endSession(io.micronaut.http.HttpRequest request, Authentication authentication)
endSession
in interface EndSessionController
request
- The current requestauthentication
- The current authentication