Package com.google.gerrit.server.account
Class AuthResult
- java.lang.Object
-
- com.google.gerrit.server.account.AuthResult
-
public class AuthResult extends Object
Result fromAccountManager.authenticate(AuthRequest)
.
-
-
Constructor Summary
Constructors Constructor Description AuthResult(Account.Id accountId, ExternalId.Key externalId, boolean isNew)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account.Id
getAccountId()
Identity of the user account that was authenticated into.ExternalId.Key
getExternalId()
External identity used to authenticate the user.boolean
isNew()
True if this account was recently created for the user.
-
-
-
Constructor Detail
-
AuthResult
public AuthResult(Account.Id accountId, ExternalId.Key externalId, boolean isNew)
-
-
Method Detail
-
getAccountId
public Account.Id getAccountId()
Identity of the user account that was authenticated into.
-
getExternalId
public ExternalId.Key getExternalId()
External identity used to authenticate the user.
-
isNew
public boolean isNew()
True if this account was recently created for the user.New users should be redirected to the registration screen, so they can configure their new user account.
-
-