UNPKG

560 BTypeScriptView Raw
1import { ResetPasswordInput, ResetPasswordOutput } from '../types';
2/**
3 * Resets a user's password.
4 *
5 * @param input - The ResetPasswordInput object.
6 * @returns ResetPasswordOutput
7 * @throws -{@link ForgotPasswordException }
8 * Thrown due to an invalid confirmation code or password.
9 * @throws -{@link AuthValidationErrorCode }
10 * Thrown due to an empty username.
11 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
12 **/
13export declare function resetPassword(input: ResetPasswordInput): Promise<ResetPasswordOutput>;