@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 java.lang.String |
logout |
protected RefreshTokenCookieConfiguration |
refreshTokenCookieConfiguration |
Constructor and Description |
---|
JwtCookieClearerLogoutHandler(AccessTokenCookieConfiguration accessTokenCookieConfiguration,
RefreshTokenCookieConfiguration refreshTokenCookieConfiguration,
RedirectConfiguration redirectConfiguration)
|
JwtCookieClearerLogoutHandler(AccessTokenCookieConfiguration accessTokenCookieConfiguration,
RefreshTokenCookieConfiguration refreshTokenCookieConfiguration,
RedirectConfiguration redirectConfiguration,
RedirectService redirectService) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.MutableHttpResponse<?> |
logout(io.micronaut.http.HttpRequest<?> request) |
@Nullable protected final java.lang.String logout
protected final AccessTokenCookieConfiguration accessTokenCookieConfiguration
protected final RefreshTokenCookieConfiguration refreshTokenCookieConfiguration
@Deprecated public JwtCookieClearerLogoutHandler(AccessTokenCookieConfiguration accessTokenCookieConfiguration, RefreshTokenCookieConfiguration refreshTokenCookieConfiguration, RedirectConfiguration redirectConfiguration)
JwtCookieClearerLogoutHandler(AccessTokenCookieConfiguration,RefreshTokenCookieConfiguration,RedirectConfiguration, RedirectService )
instead.accessTokenCookieConfiguration
- JWT Cookie ConfigurationrefreshTokenCookieConfiguration
- Refresh token cookie configurationredirectConfiguration
- Redirect configuration@Inject public JwtCookieClearerLogoutHandler(AccessTokenCookieConfiguration accessTokenCookieConfiguration, RefreshTokenCookieConfiguration refreshTokenCookieConfiguration, RedirectConfiguration redirectConfiguration, RedirectService redirectService)
accessTokenCookieConfiguration
- JWT Cookie ConfigurationrefreshTokenCookieConfiguration
- Refresh token cookie configurationredirectConfiguration
- Redirect configurationredirectService
- Redirection Servicepublic io.micronaut.http.MutableHttpResponse<?> logout(io.micronaut.http.HttpRequest<?> request)
logout
in interface LogoutHandler
request
- The HttpRequest
being executed