Gets the Auth service for the default app or a given app.
getAuth() can be called with no arguments to access the default app's Auth service or as getAuth(app) to access the Auth service associated with a specific app.
getAuth()
getAuth(app)
Optional
// Get the Auth service for the default appconst defaultAuth = getAuth(); Copy
// Get the Auth service for the default appconst defaultAuth = getAuth();
// Get the Auth service for a given appconst otherAuth = getAuth(otherApp); Copy
// Get the Auth service for a given appconst otherAuth = getAuth(otherApp);
Gets the Auth service for the default app or a given app.
getAuth()
can be called with no arguments to access the default app's Auth service or asgetAuth(app)
to access the Auth service associated with a specific app.