Get Auth

Use the getAuth method to retrieve the Firebase Authentication instance associated with a specific FirebaseApp.

Method

FirebaseAuth firebaseAuth = FirebaseApp.instance.getAuth();

Parameters

  • None

Return

  • FirebaseAuth: Returns the FirebaseAuth instance associated with the specified FirebaseApp.

This method is used to obtain the Firebase Authentication instance linked to a FirebaseApp, allowing you to perform various authentication operations.

Last updated