@aws-amplify/auth
Version:
Auth category of aws-amplify
13 lines (12 loc) • 602 B
TypeScript
import { ConfirmResetPasswordInput } from '../types';
/**
* Confirms the new password and verification code to reset the password.
*
* @param input - The ConfirmResetPasswordInput object.
* @throws -{@link ConfirmForgotPasswordException }
* Thrown due to an invalid confirmation code or password.
* @throws -{@link AuthValidationErrorCode }
* Thrown due to an empty confirmation code, password or username.
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function confirmResetPassword(input: ConfirmResetPasswordInput): Promise<void>;