public interface WebSession
Modifier and Type | Method and Description |
---|---|
CurrentUser |
getCurrentUser() |
com.google.gerrit.reviewdb.client.AccountExternalId.Key |
getLastLoginExternalId() |
java.lang.String |
getSessionId() |
java.lang.String |
getXGerritAuth() |
boolean |
isAccessPathOk(AccessPath path) |
boolean |
isSignedIn() |
boolean |
isValidXGerritAuth(java.lang.String keyIn) |
void |
login(AuthResult res,
boolean rememberMe) |
void |
logout() |
void |
setAccessPathOk(AccessPath path,
boolean ok) |
void |
setUserAccountId(com.google.gerrit.reviewdb.client.Account.Id id)
Set the user account for this current request only.
|
boolean isSignedIn()
java.lang.String getXGerritAuth()
boolean isValidXGerritAuth(java.lang.String keyIn)
com.google.gerrit.reviewdb.client.AccountExternalId.Key getLastLoginExternalId()
CurrentUser getCurrentUser()
void login(AuthResult res, boolean rememberMe)
void setUserAccountId(com.google.gerrit.reviewdb.client.Account.Id id)
boolean isAccessPathOk(AccessPath path)
void setAccessPathOk(AccessPath path, boolean ok)
void logout()
java.lang.String getSessionId()