<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [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&lt;[ActionCodeInfo](./auth.actioncodeinfo.md)<!-- -->&gt;

metadata about the code.

