| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.cognitoidentityprovider | |
| com.amazonaws.mobileconnectors.cognitoidentityprovider.continuations |
| Modifier and Type | Method and Description |
|---|---|
void |
CognitoUser.getSession(AuthenticationHandler callback)
getSession orchestrates the SignIn flow with Amazon Cognito UserPools.
|
void |
CognitoUser.getSessionInBackground(AuthenticationHandler callback)
getSession orchestrates the SignIn flow with Amazon Cognito UserPools.
|
Runnable |
CognitoUser.initiateUserAuthentication(AuthenticationDetails authenticationDetails,
AuthenticationHandler callback,
boolean runInBackground)
Note: Please use
CognitoUser.getSession(AuthenticationHandler) or
CognitoUser.getSessionInBackground(AuthenticationHandler) instead. |
Runnable |
CognitoUser.respondToChallenge(RespondToAuthChallengeRequest challengeResponse,
AuthenticationHandler callback,
boolean runInBackground)
This method sends the challenge response to the Cognito IDP service.
|
Runnable |
CognitoUser.respondToMfaChallenge(String mfaCode,
RespondToAuthChallengeResult challenge,
AuthenticationHandler callback,
boolean runInBackground)
Responds to an MFA challenge.
|
| 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.
|
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.
|
Copyright © 2020. All rights reserved.