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 > ActionCodeURL

ActionCodeURL class

A utility class to parse email action URLs such as password reset, email verification, email link sign in, etc.

Signature:

export declare class ActionCodeURL 

Description

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ActionCodeURL class.

Properties

Property Modifiers Type Description
apiKey string The API key of the email action link.
code string The action code of the email action link.
continueUrl string | null The continue URL of the email action link. Null if not provided.
languageCode string | null The language code of the email action link. Null if not provided.
operation ActionCodeOperation The action performed by the email action link. It returns from one of the types from ActionCodeInfo
tenantId string | null The tenant ID of the email action link. Null if the email action is from the parent project.

Methods

Method Modifiers Description
parseLink(link) static Parses the email action link string and returns an ActionCodeURL if the link is valid, otherwise returns null.