UNPKG

602 BTypeScriptView Raw
1import { ConfirmResetPasswordInput } from '../types';
2/**
3 * Confirms the new password and verification code to reset the password.
4 *
5 * @param input - The ConfirmResetPasswordInput object.
6 * @throws -{@link ConfirmForgotPasswordException }
7 * Thrown due to an invalid confirmation code or password.
8 * @throws -{@link AuthValidationErrorCode }
9 * Thrown due to an empty confirmation code, password or username.
10 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
11 */
12export declare function confirmResetPassword(input: ConfirmResetPasswordInput): Promise<void>;