A utility class to parse email action URLs.
Index
Constructors
Private constructor
- new
Action CodeURL():ActionCodeURL ReturnsActionCodeURL
Properties
apiKey
The API key of the email action link.
code
The action code of the email action link.
continueUrl
The continue URL of the email action link. Null if not provided.
languageCode
The language code of the email action link. Null if not provided.
operation
The action performed by the email action link. It returns from oneof the types fromfirebase.auth.ActionCodeInfo.
tenantId
The tenant ID of the email action link. Null if the email actionis from the parent project.
Methods
Static parseLink
- parse
Link(link: string):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.