@Requires(condition=CookieBasedAuthenticationModeCondition.class) @Singleton public class JwtCookieClearerLogoutHandler extends java.lang.Object implements LogoutHandler
CookieLoginHandler
.Modifier and Type | Field and Description |
---|---|
protected JwtCookieConfiguration |
jwtCookieConfiguration |
protected java.lang.String |
logout |
Constructor and Description |
---|
JwtCookieClearerLogoutHandler(JwtCookieConfiguration jwtCookieConfiguration)
Deprecated.
|
JwtCookieClearerLogoutHandler(JwtCookieConfiguration jwtCookieConfiguration,
RedirectConfiguration redirectConfiguration) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.MutableHttpResponse<?> |
logout(io.micronaut.http.HttpRequest<?> request) |
protected final JwtCookieConfiguration jwtCookieConfiguration
protected final java.lang.String logout
@Deprecated public JwtCookieClearerLogoutHandler(JwtCookieConfiguration jwtCookieConfiguration)
JwtCookieClearerLogoutHandler(JwtCookieConfiguration, RedirectConfiguration)
instead.jwtCookieConfiguration
- JWT Cookie Configuration@Inject public JwtCookieClearerLogoutHandler(JwtCookieConfiguration jwtCookieConfiguration, RedirectConfiguration redirectConfiguration)
jwtCookieConfiguration
- JWT Cookie ConfigurationredirectConfiguration
- Redirect configurationpublic io.micronaut.http.MutableHttpResponse<?> logout(io.micronaut.http.HttpRequest<?> request)
logout
in interface LogoutHandler
request
- The HttpRequest
being executed