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

AdminRespondToAuthChallengeAsync() public method

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

            return InvokeAsync<AdminRespondToAuthChallengeRequest,AdminRespondToAuthChallengeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCognitoIdentityProviderClient