public class AuthResult
extends java.lang.Object
AccountManager.authenticate(AuthRequest)
.Constructor and Description |
---|
AuthResult(Account.Id accountId,
ExternalId.Key externalId,
boolean isNew) |
Modifier and Type | Method and 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.
|
public AuthResult(Account.Id accountId, ExternalId.Key externalId, boolean isNew)
public Account.Id getAccountId()
public ExternalId.Key getExternalId()
public boolean isNew()
New users should be redirected to the registration screen, so they can configure their new user account.