The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/auth > checkActionCode

checkActionCode() function

Checks a verification code sent to the user by email or other out-of-band mechanism.

Signature:

export declare function checkActionCode(auth: Auth, oobCode: string): Promise<ActionCodeInfo>;

Parameters

Parameter Type Description
auth Auth The Auth instance.
oobCode string A verification code sent to the user.

Returns:

Promise<ActionCodeInfo>

metadata about the code.