Interface IFirebaseCredentialProvider

Assembly: redb.Route.Firebase.dll

Abstraction for Firebase credential resolution.
Enables mocking in unit tests without real service accounts.

public interface IFirebaseCredentialProvider

Methods

GetFirestoreDb(string?, string?, string?)

Gets a for the specified project. Clients are cached per

FirestoreDb GetFirestoreDb(string? projectId = null, string? credentialPath = null, string? databaseId = null)

GetOrCreateApp(string?, string?)

Gets or creates a using the specified credentials.

FirebaseApp GetOrCreateApp(string? credentialPath = null, string? projectId = null)

GetStorageClient(string?)

Gets a . Clients are cached per credentialPath.

StorageClient GetStorageClient(string? credentialPath = null)

GetUrlSigner(string?)

Gets a for signed download URLs. Requires a service-account

UrlSigner GetUrlSigner(string? credentialPath = null)