voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
27 lines (16 loc) • 764 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [confirmPasswordReset](./auth.confirmpasswordreset.md)
## confirmPasswordReset() function
Completes the password reset process, given a confirmation code and new password.
<b>Signature:</b>
```typescript
export declare function confirmPasswordReset(auth: Auth, oobCode: string, newPassword: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| auth | [Auth](./auth.auth.md) | The Auth instance. |
| oobCode | string | A confirmation code sent to the user. |
| newPassword | string | The new password. |
<b>Returns:</b>
Promise<void>