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