Gets the Auth service for the default app or a
given app.
admin.auth() can be called with no arguments to access the default app's
Auth service or as admin.auth(app) to access the
Auth service associated with a specific app.
example
// Get the Auth service for the default appvar defaultAuth = admin.auth();
example
// Get the Auth service for a given appvar otherAuth = admin.auth(otherApp);
Gets the
Authservice for the default app or a given app.admin.auth()can be called with no arguments to access the default app'sAuthservice or asadmin.auth(app)to access theAuthservice associated with a specific app.// Get the Auth service for the default app var defaultAuth = admin.auth();// Get the Auth service for a given app var otherAuth = admin.auth(otherApp);