Auth class

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

Signature:

export declare class Auth extends BaseAuth 

Extends: BaseAuth

Properties

Property Modifiers Type Description
app App Returns the app associated with this Auth instance.

Methods

Method Modifiers Description
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:

get app(): 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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-10-17 UTC.