Home > @firebase/auth > confirmPasswordReset
confirmPasswordReset() function
Completes the password reset process, given a confirmation code and new password.
Signature:
export declare function confirmPasswordReset(auth: Auth, oobCode: string, newPassword: string): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
auth | Auth | The Auth instance. |
oobCode | string | A confirmation code sent to the user. |
newPassword | string | The new password. |
Returns:
Promise<void>