public class AuthenticationContinuation extends Object implements CognitoIdentityProviderContinuation<String>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
RUN_IN_BACKGROUND
Run in background.
|
static boolean |
RUN_IN_CURRENT
Run on current thread.
|
| Constructor and Description |
|---|
AuthenticationContinuation(CognitoUser user,
android.content.Context context,
boolean runInBackground,
AuthenticationHandler callback)
Constructs a new continuation in the authentication process.
|
| Modifier and Type | Method and Description |
|---|---|
void |
continueTask()
Continues the authentications process by responding to the "PASSWORD_VERIFIER" challenge with
username and password.
|
String |
getParameters()
Returns the parameters required for this continuation.
|
void |
setAuthenticationDetails(AuthenticationDetails authenticationDetails)
Set details required to continue with this authentication.
|
public static final boolean RUN_IN_BACKGROUND
public static final boolean RUN_IN_CURRENT
public AuthenticationContinuation(CognitoUser user, android.content.Context context, boolean runInBackground, AuthenticationHandler callback)
user - REQUIRED: Reference to the CognitoUser object.context - REQUIRED: Application context to manage threads.runInBackground - REQUIRED: Represents where this continuation has to run.callback - REQUIRED: Callback to interact with the app.public String getParameters()
getParameters in interface CognitoIdentityProviderContinuation<String>public void continueTask()
continueTask in interface CognitoIdentityProviderContinuation<String>public void setAuthenticationDetails(AuthenticationDetails authenticationDetails)
authenticationDetails - @see AuthenticationDetailsCopyright © 2020. All rights reserved.