MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / FirebaseAuthClient

Method FirebaseAuthClient

api/pkg/di/container.go:472–480  ·  view source on GitHub ↗

FirebaseAuthClient creates a new instance of auth.Client

()

Source from the content-addressed store, hash-verified

470
471// FirebaseAuthClient creates a new instance of auth.Client
472func (container *Container) FirebaseAuthClient() (client *auth.Client) {
473 container.logger.Debug(fmt.Sprintf("creating %T", client))
474 authClient, err := container.FirebaseApp().Auth(context.Background())
475 if err != nil {
476 msg := "cannot initialize firebase auth client"
477 container.logger.Fatal(stacktrace.Propagate(err, msg))
478 }
479 return authClient
480}
481
482// CloudTasksClient creates a new instance of cloudtasks.Client
483func (container *Container) CloudTasksClient() (client *cloudtasks.Client) {

Callers 3

AppMethod · 0.95
MarketingServiceMethod · 0.95
UserServiceMethod · 0.95

Calls 3

FirebaseAppMethod · 0.95
DebugMethod · 0.65
FatalMethod · 0.65

Tested by

no test coverage detected