Make WebSessionManager.Val#getAccountId public
This will be used to log specific users out without having to clear all users sessions to log a user out. Bug: Issue 10636 Change-Id: I522b59914901846c8802983deda032901cdb8e5f
This commit is contained in:
@@ -217,7 +217,15 @@ public class WebSessionManager {
|
||||
return expiresAt;
|
||||
}
|
||||
|
||||
Account.Id getAccountId() {
|
||||
/**
|
||||
* Parse an Account.Id.
|
||||
*
|
||||
* <p>This is public so that plugins that implement a web session, can also implement a way to
|
||||
* clear per user sessions.
|
||||
*
|
||||
* @return account ID.
|
||||
*/
|
||||
public Account.Id getAccountId() {
|
||||
return accountId;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user