public class AuthResult extends Object
AccountManager.authenticate(AuthRequest)
.Constructor and Description |
---|
AuthResult(com.google.gerrit.reviewdb.client.Account.Id accountId,
com.google.gerrit.reviewdb.client.AccountExternalId.Key externalId,
boolean isNew) |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.reviewdb.client.Account.Id |
getAccountId()
Identity of the user account that was authenticated into.
|
com.google.gerrit.reviewdb.client.AccountExternalId.Key |
getExternalId()
External identity used to authenticate the user.
|
boolean |
isNew()
True if this account was recently created for the user.
|
public AuthResult(com.google.gerrit.reviewdb.client.Account.Id accountId, com.google.gerrit.reviewdb.client.AccountExternalId.Key externalId, boolean isNew)
public com.google.gerrit.reviewdb.client.Account.Id getAccountId()
public com.google.gerrit.reviewdb.client.AccountExternalId.Key getExternalId()
public boolean isNew()
New users should be redirected to the registration screen, so they can configure their new user account.