UNPKG

veritatisdoloremque

Version:
27 lines (15 loc) 813 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/auth-types](./auth-types.md) &gt; [ActionCodeURL](./auth-types.actioncodeurl.md) &gt; [parseLink](./auth-types.actioncodeurl.parselink.md) ## ActionCodeURL.parseLink() method Parses the email action link string and returns an [ActionCodeURL](./auth-types.actioncodeurl.md) if the link is valid, otherwise returns null. <b>Signature:</b> ```typescript static parseLink(link: string): ActionCodeURL | null; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | link | string | The email action link string. | <b>Returns:</b> [ActionCodeURL](./auth-types.actioncodeurl.md) \| null The ActionCodeURL object, or null if the link is invalid.