All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.mobileconnectors.cognitoidentityprovider.continuations.CognitoIdentityProviderContinuation Maven / Gradle / Ivy

Go to download

The AWS Android SDK for Amazon Cognito Identity Provider module holds the client classes that are used for communicating with Amazon Cognito Identity Provider Service

There is a newer version: 2.79.0
Show newest version
/*
 * Copyright 2013-2016 Amazon.com,
 * Inc. or its affiliates. All Rights Reserved.
 *
 * Licensed under the Amazon Software License (the "License").
 * You may not use this file except in compliance with the
 * License. A copy of the License is located at
 *
 *     http://aws.amazon.com/asl/
 *
 * or in the "license" file accompanying this file. This file is
 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, express or implied. See the License
 * for the specific language governing permissions and
 * limitations under the License.
 */

package com.amazonaws.mobileconnectors.cognitoidentityprovider.continuations;

/**
 * Introduction to "Continuations".
 * 

* "Continuation"s provide a simple technique to continue with a task whenever it is interrupted * and when it is required to continue with the task at a different time. * For example, when authentication requires user parameters or if user is required to input MFA * code to get tokens the authentication task is stopped at those points. This is to allow the * application interact with user's and wait for events such as adding delivery of MFA code. * One "Continuation" type is defined for each place in the processing where continuation is needed. * All session tokens and data required to continue with the task are encapsulated by the "Continuation" * object. * See the specific "Continuation" for more details about it. *

*/ /** * Defined general interface for "Continuations". * @param defines the type of the data of the user parameters of this continuation. */ public interface CognitoIdentityProviderContinuation { /** * This method will provide details for the "Continuation". The return type is defined by the * continuation type. * * @return parameters specific to the continuation. */ public T getParameters(); /** * Call this method to continue with the processing. */ public void continueTask(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy