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.