Credentials class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Properties
- firebaseAdminCredentialPath → String?
-
The path where credentials obtained by doing Credentials.login are
stored
no setter
Static Methods
-
applicationDefault(
) → Credential? - Returns a Credential created from the Google Application Default Credentials (ADC) that grants admin access to Firebase services.
-
cert(
dynamic credentials) → Credential - Returns Credential created from the provided service account that grants admin access to Firebase services.
-
login(
{String? clientId, String? clientSecret}) → Future< Credential> -
logout(
) → Future< void> -
refreshToken(
dynamic refreshTokenPathOrObject) → Credential - Returns Credential created from the provided refresh token that grants admin access to Firebase services.