Parse Action Code URL

Use the parseActionCodeUrl method to parse an action code URL and retrieve the action code information.

Method

final actionCodeInfo = await FirebaseApp.firebaseAuth?.parseActionCodeUrl(url);

Parameters

  • url (String): The URL containing the action code to be parsed.

Return

  • ActionCodeInfo?: Returns an ActionCodeInfo object containing the action code information if the URL is valid.

This method extracts and returns the action code information from a valid action code URL.

Last updated