Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Auth.Multitenancy.Tenant
Represents a tenant in a multi-tenant application.
Summary
Multitenancy support requires Google Cloud Identity Platform (GCIP). To learn more about GCIP, including pricing and features, see the GCIP documentation.
Before multitenancy can be used in a Google Cloud Identity Platform project, tenants must be allowed on that project via the Cloud Console UI.
A tenant configuration provides information such as the display name, tenant identifier and email authentication configuration. For OIDC/SAML provider configuration management, TenantAwareFirebaseAuth instances should be used instead of a Tenant to retrieve the list of configured IdPs on a tenant. When configuring these providers, note that tenants will inherit whitelisted domains and authenticated redirect URIs of their parent project.
All other settings of a tenant will also be inherited. These will need to be managed from the Cloud Console UI.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# FirebaseAdmin.Auth.Multitenancy.Tenant Class Reference\n\nFirebaseAdmin.Auth.Multitenancy.Tenant\n======================================\n\nRepresents a tenant in a multi-tenant application.\n\nSummary\n-------\n\n[Multitenancy](/docs/reference/admin/dotnet/namespace/firebase-admin/auth/multitenancy#namespace_firebase_admin_1_1_auth_1_1_multitenancy) support requires Google Cloud Identity Platform (GCIP). To learn more about GCIP, including pricing and features, see the [GCIP documentation](https://cloud.google.com/identity-platform).\n\nBefore multitenancy can be used in a Google Cloud Identity Platform project, tenants must be allowed on that project via the Cloud Console UI.\n\nA tenant configuration provides information such as the display name, tenant identifier and email authentication configuration. For OIDC/SAML provider configuration management, [TenantAwareFirebaseAuth](/docs/reference/admin/dotnet/class/firebase-admin/auth/multitenancy/tenant-aware-firebase-auth#class_firebase_admin_1_1_auth_1_1_multitenancy_1_1_tenant_aware_firebase_auth) instances should be used instead of a [Tenant](/docs/reference/admin/dotnet/class/firebase-admin/auth/multitenancy/tenant#class_firebase_admin_1_1_auth_1_1_multitenancy_1_1_tenant) to retrieve the list of configured IdPs on a tenant. When configuring these providers, note that tenants will inherit whitelisted domains and authenticated redirect URIs of their parent project.\n\nAll other settings of a tenant will also be inherited. These will need to be managed from the Cloud Console UI.\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| [DisplayName](#class_firebase_admin_1_1_auth_1_1_multitenancy_1_1_tenant_1addf318ccee5b3c02bc9cf1dd1b023f1a)` =\u003e this.args.DisplayName` | `string` Gets the tenant display name. |\n| [EmailLinkSignInEnabled](#class_firebase_admin_1_1_auth_1_1_multitenancy_1_1_tenant_1a7d89ca274d8141750655e919d295b2a2)` =\u003e this.args.EmailLinkSignInEnabled ?? false` | `bool` Gets a value indicating whether the email link sign-in is enabled. |\n| [PasswordSignUpAllowed](#class_firebase_admin_1_1_auth_1_1_multitenancy_1_1_tenant_1a5ac5dcba0a3062f6f6edc7ff712c3d35)` =\u003e this.args.PasswordSignUpAllowed ?? false` | `bool` Gets a value indicating whether the email sign-in provider is enabled. |\n| [TenantId](#class_firebase_admin_1_1_auth_1_1_multitenancy_1_1_tenant_1a95cd932d45f3b1ece68dadf08cc9fe44)` =\u003e this.ExtractResourceId(this.args.Name)` | `string` Gets the tenant identifier. |\n\nPublic attributes\n-----------------\n\n### DisplayName\n\n```text\nstring DisplayName =\u003e this.args.DisplayName\n``` \nGets the tenant display name. \n\n### EmailLinkSignInEnabled\n\n```text\nbool EmailLinkSignInEnabled =\u003e this.args.EmailLinkSignInEnabled ?? false\n``` \nGets a value indicating whether the email link sign-in is enabled. \n\n### PasswordSignUpAllowed\n\n```text\nbool PasswordSignUpAllowed =\u003e this.args.PasswordSignUpAllowed ?? false\n``` \nGets a value indicating whether the email sign-in provider is enabled. \n\n### TenantId\n\n```text\nstring TenantId =\u003e this.ExtractResourceId(this.args.Name)\n``` \nGets the tenant identifier."]]