voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
28 lines (16 loc) • 763 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [checkActionCode](./auth.checkactioncode.md)
## checkActionCode() function
Checks a verification code sent to the user by email or other out-of-band mechanism.
<b>Signature:</b>
```typescript
export declare function checkActionCode(auth: Auth, oobCode: string): Promise<ActionCodeInfo>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| auth | [Auth](./auth.auth.md) | The Auth instance. |
| oobCode | string | A verification code sent to the user. |
<b>Returns:</b>
Promise<[ActionCodeInfo](./auth.actioncodeinfo.md)<!-- -->>
metadata about the code.