| Modifier and Type | Method and Description |
|---|---|
CognitoUser |
CognitoUserPool.getCurrentUser()
Returns last authenticated user on this device in this user pool.
|
CognitoUser |
CognitoUserPool.getUser()
Returns a
CognitoUser with no username set. |
CognitoUser |
CognitoUserPool.getUser(String userId)
Returns a CognitoUser with userId
userId |
| Constructor and Description |
|---|
CognitoDevice(DeviceType device,
CognitoUser user,
android.content.Context context)
Constructs a
CognitoDevice object with DeviceType object. |
CognitoDevice(String deviceKey,
CognitoUserAttributes deviceAttributes,
Date createDate,
Date lastModifiedDate,
Date lastAccessedDate,
CognitoUser user,
android.content.Context context)
Constructs an object of type
CognitoDevice with device details. |
| Constructor and Description |
|---|
AuthenticationContinuation(CognitoUser user,
android.content.Context context,
boolean runInBackground,
AuthenticationHandler callback)
Constructs a new continuation in the authentication process.
|
ChallengeContinuation(CognitoUser user,
android.content.Context context,
String username,
String clientId,
String secretHash,
RespondToAuthChallengeResult challengeResult,
boolean runInBackground,
AuthenticationHandler callback)
Constructs a continuation for a challenge to be presented to the user.
|
ChooseMfaContinuation(CognitoUser user,
android.content.Context context,
String username,
String clientId,
String secretHash,
RespondToAuthChallengeResult challengeResult,
boolean runInBackground,
AuthenticationHandler callback)
Constructs a new continuation for multiple user MFA's.
|
ForgotPasswordContinuation(CognitoUser user,
CognitoUserCodeDeliveryDetails parameters,
boolean runInBackground,
ForgotPasswordHandler callback)
Constructs a new Continuation for forgot password process.
|
MultiFactorAuthenticationContinuation(CognitoUser user,
android.content.Context context,
RespondToAuthChallengeResult challenge,
boolean runInBackground,
AuthenticationHandler callback)
Constructs a multi-factor authentication continuation.
|
NewPasswordContinuation(CognitoUser user,
android.content.Context context,
String username,
String clientId,
String secretHash,
RespondToAuthChallengeResult challengeResult,
boolean runInBackground,
AuthenticationHandler callback)
Constructs a new continuation for new user sign-in.
|
RegisterMfaContinuation(CognitoUser user,
android.content.Context context,
String username,
String clientId,
String secretHash,
RespondToAuthChallengeResult challengeResult,
boolean runInBackground,
AuthenticationHandler callback)
Constructs a new continuation for multiple user MFA's.
|
VerifyMfaContinuation(android.content.Context context,
String clientId,
CognitoUser user,
RegisterMfaHandler callback,
Map<String,String> mfaSetupDetails,
boolean useSessionToken,
String sessionToken,
boolean runInBackground)
Constructs a new continuation for MFA verification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SignUpHandler.onSuccess(CognitoUser user,
SignUpResult signUpResult)
This method is called successfully registering a new user.
|
Copyright © 2020. All rights reserved.