A utility class to parse email action URLs.

Index

Constructors

Private constructor

Properties

apiKey

apiKey:string

The API key of the email action link.

code

code:string

The action code of the email action link.

continueUrl

continueUrl:string |null

The continue URL of the email action link. Null if not provided.

languageCode

languageCode:string |null

The language code of the email action link. Null if not provided.

operation

operation:Operation

The action performed by the email action link. It returns from oneof the types fromfirebase.auth.ActionCodeInfo.

tenantId

tenantId:string |null

The tenant ID of the email action link. Null if the email actionis from the parent project.

Methods

Static parseLink

  • parseLink(linkstring):ActionCodeURL |null
  • Parses the email action link string and returns an ActionCodeURL objectif the link is valid, otherwise returns null.

    Parameters

    • link:string

      The email action link string.

    ReturnsActionCodeURL |null

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-27 UTC.