public interface RememberMeManager
| Modifier and Type | Method and Description |
|---|---|
Authentication |
autoLogin(org.craftercms.commons.http.RequestContext context)
Attempts auto login if a remember me cookie is present in the current request
|
void |
disableRememberMe(org.craftercms.commons.http.RequestContext context)
Disabled remember me for the current authenticated profile, generally by removing remember me cookie.
|
void |
enableRememberMe(Authentication authentication,
org.craftercms.commons.http.RequestContext context)
Enables remember me for the current authenticated profile, generally by adding a remember me cookie.
|
Authentication autoLogin(org.craftercms.commons.http.RequestContext context) throws RememberMeException
context - the request contextRememberMeExceptionvoid enableRememberMe(Authentication authentication, org.craftercms.commons.http.RequestContext context) throws RememberMeException
authentication - the authentication objectcontext - the request contextRememberMeExceptionvoid disableRememberMe(org.craftercms.commons.http.RequestContext context)
throws RememberMeException
context - the request contextRememberMeExceptionCopyright © 2023 CrafterCMS. All rights reserved.