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

ForgotPasswordAsync() public method

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

            return InvokeAsync<ForgotPasswordRequest,ForgotPasswordResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCognitoIdentityProviderClient