Get Redirect Result

Use the getRedirectResult method to retrieve the result of a sign-in operation that was initiated with a redirect.

Method

final userCredential = await FirebaseApp.firebaseAuth?.getRedirectResult();

Parameters

  • None

Return

  • UserCredential?: Returns a UserCredential object that contains the user's sign-in information.

This method retrieves the result of a sign-in operation that was completed via a redirect, returning the associated user credentials.

Last updated