Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.RespondToAuthChallengeAsync C# (CSharp) Method

RespondToAuthChallengeAsync() public method

Initiates the asynchronous execution of the RespondToAuthChallenge operation.
public RespondToAuthChallengeAsync ( RespondToAuthChallengeRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CognitoIdentityProvider.Model.RespondToAuthChallengeRequest Container for the necessary parameters to execute the RespondToAuthChallenge operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<RespondToAuthChallengeResponse> RespondToAuthChallengeAsync(RespondToAuthChallengeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new RespondToAuthChallengeRequestMarshaller();
            var unmarshaller = RespondToAuthChallengeResponseUnmarshaller.Instance;

            return InvokeAsync<RespondToAuthChallengeRequest,RespondToAuthChallengeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCognitoIdentityProviderClient