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

ActionCodeURL.parseLink() method

Parses the email action link string and returns an ActionCodeURL if the link is valid, otherwise returns null.

Signature:

static parseLink(link: string): ActionCodeURL | null;

Parameters

Parameter Type Description
link string The email action link string.

Returns:

ActionCodeURL | null

The ActionCodeURL object, or null if the link is invalid.