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:
Paladox none
2019-03-21 22:12:26 +00:00
committed by Paladox
parent 67032dc805
commit dc5e76e2e1

View File

@@ -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;
}