Auth class

Auth service bound to the provided app. An Auth instance can have multiple tenants.

Signature:

exportdeclareclassAuthextendsBaseAuth

Extends:BaseAuth

Properties

PropertyModifiersTypeDescription
appAppReturns the app associated with this Auth instance.

Methods

MethodModifiersDescription
projectConfigManager()Returns the project config manager instance associated with the current project.
tenantManager()Returns the tenant manager instance associated with the current project.

Auth.app

Returns the app associated with this Auth instance.

Signature:

getapp():App;

Auth.projectConfigManager()

Returns the project config manager instance associated with the current project.

Signature:

projectConfigManager():ProjectConfigManager;

Returns:

ProjectConfigManager

The project config manager instance associated with the current project.

Auth.tenantManager()

Returns the tenant manager instance associated with the current project.

Signature:

tenantManager():TenantManager;

Returns:

TenantManager

The tenant manager instance associated with the current project.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-10-17 UTC.