@Requires(condition=SessionAuthenticationModeCondition.class) @Singleton public class SessionLogoutHandler extends java.lang.Object implements LogoutHandler
LogoutHandler
implementation for Session-Based Authentication.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
logout |
Constructor and Description |
---|
SessionLogoutHandler(RedirectConfiguration redirectConfiguration)
Deprecated.
|
SessionLogoutHandler(RedirectConfiguration redirectConfiguration,
RedirectService redirectService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.MutableHttpResponse<?> |
logout(io.micronaut.http.HttpRequest<?> request) |
@Deprecated public SessionLogoutHandler(RedirectConfiguration redirectConfiguration)
SessionLogoutHandler(RedirectConfiguration, RedirectService )
instead.redirectConfiguration
- Redirect Configuration@Inject public SessionLogoutHandler(RedirectConfiguration redirectConfiguration, RedirectService redirectService)
redirectConfiguration
- Redirect ConfigurationredirectService
- Redirection Servicepublic io.micronaut.http.MutableHttpResponse<?> logout(io.micronaut.http.HttpRequest<?> request)
logout
in interface LogoutHandler
request
- The HttpRequest
being executed