FirebaseIdpConfigFromPasswords class
Creates a new FirebaseIdpConfig from keys on the passwords.yaml file.
This constructor requires that a Serverpod instance has already been
initialized.
The password key should be firebaseServiceAccountKey and contain the
entire service account JSON as a string.
- Inheritance
-
- Object
- IdentityProviderBuilder<
FirebaseIdp> - FirebaseIdpConfig
- FirebaseIdpConfigFromPasswords
Constructors
- FirebaseIdpConfigFromPasswords({FirebaseAccountDetailsValidation firebaseAccountDetailsValidation = validateFirebaseAccountDetails})
- Creates a new FirebaseIdpConfigFromPasswords instance.
Properties
- credentials → FirebaseServiceAccountCredentials
-
The Firebase service account credentials.
finalinherited
- firebaseAccountDetailsValidation → FirebaseAccountDetailsValidation
-
Validation function for Firebase account details.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Type
-
The type of the provider that this builder creates.
Used to store the provider in the AuthConfig.
no setterinherited
Methods
-
build(
{required TokenManager tokenManager, required AuthUsers authUsers, required UserProfiles userProfiles}) → FirebaseIdp -
Builds a new instance of the identity provider.
inherited
-
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