Initialize Auth
Method 1: Initialize with Environment Variables
FirebaseApp firebaseApp = FirebaseApp.initializeAppWithEnvironmentVariables(
apiKey,
projectId,
bucketName,
);Parameters
Return
Method 2: Initialize with Service Account
FirebaseApp firebaseApp = FirebaseApp.initializeAppWithServiceAccount(
serviceAccountContent,
serviceAccountKeyFilePath,
);Parameters
Return
Method 3: Initialize with Service Account Impersonation
Return
Last updated