Credential class
Authentication information for Firebase Admin SDK.
Constructors
- Credential.fromApplicationDefaultCredentials({String? serviceAccountId})
-
Log in to firebase using the environment variable.
factory
- Credential.fromServiceAccount(File serviceAccountFile)
-
Log in to firebase from a service account file.
factory
- Credential.fromServiceAccountParams({required String clientId, required String privateKey, required String email})
-
Log in to firebase from a service account file parameters.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccountCredentials → ServiceAccountCredentials?
-
final
- serviceAccountId → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited