com.atlassian.bitbucket.auth.RememberMeService |
Provides remember-me authentication
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Attempts to authenticate a request using the remember-me cookie provided on the request.
| |||||||||||
Generates a new remember-me token for the user and sets the corresponding cookie on the response.
| |||||||||||
Clears the remember-me cookie and removes all remember-me tokens for the corresponding series
|
Attempts to authenticate a request using the remember-me cookie provided on the request. If authentication succeeds, a new remember-me token is created for the user and a new cookie is set on the response. If authentication fails for any reason, the cookie is cleared on the response.
request | the request |
---|---|
response | the response |
null
if authentication failed.
Generates a new remember-me token for the user and sets the corresponding cookie on the response.
This will cancel an existing remember me cookie if such was provided. The user needs to be set in
the AuthenticationContext
first.
request | the request |
---|---|
response | the response |
Clears the remember-me cookie and removes all remember-me tokens for the corresponding series
request | the request |
---|---|
response | the response |