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