Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.ConfirmForgotPassword C# (CSharp) Метод

ConfirmForgotPassword() публичный Метод

Allows a user to enter a code provided when they reset their password to update their password.
/// This exception is thrown if the provided code does not match what the server was expecting. /// /// This exception is thrown if a code has expired. /// /// This exception is thrown when Amazon Cognito encounters an internal error. /// /// This exception is thrown when the Amazon Cognito service encounters an invalid AWS /// Lambda response. /// /// This exception is thrown when the Amazon Cognito service encounters an invalid parameter. /// /// This exception is thrown when the Amazon Cognito service encounters an invalid password. /// /// This exception is thrown when a user exceeds the limit for a requested AWS resource. /// /// This exception gets thrown when a user is not authorized. /// /// This exception is thrown when the Amazon Cognito service cannot find the requested /// resource. /// /// This exception gets thrown when the user has made too many failed attempts for a given /// action (e.g., sign in). /// /// This exception gets thrown when the user has made too many requests for a given operation. /// /// This exception gets thrown when the Amazon Cognito service encounters an unexpected /// exception with the AWS Lambda service. /// /// This exception gets thrown when the Amazon Cognito service encounters a user validation /// exception with the AWS Lambda service. /// /// This exception is thrown when a user is not confirmed successfully. /// /// This exception is thrown when a user is not found. ///
public ConfirmForgotPassword ( ConfirmForgotPasswordRequest request ) : ConfirmForgotPasswordResponse
request Amazon.CognitoIdentityProvider.Model.ConfirmForgotPasswordRequest Container for the necessary parameters to execute the ConfirmForgotPassword service method.
Результат ConfirmForgotPasswordResponse
        public ConfirmForgotPasswordResponse ConfirmForgotPassword(ConfirmForgotPasswordRequest request)
        {
            var marshaller = new ConfirmForgotPasswordRequestMarshaller();
            var unmarshaller = ConfirmForgotPasswordResponseUnmarshaller.Instance;

            return Invoke<ConfirmForgotPasswordRequest,ConfirmForgotPasswordResponse>(request, marshaller, unmarshaller);
        }
AmazonCognitoIdentityProviderClient