Add Email/Password Provider Configuration to Tenant

未关闭
#347 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp

调研方向

首先查看 Firebase Admin .NET SDK 的租户管理 API 和 Firebase Authentication REST API,然后将其与 issue 中的 Node SDK 示例进行比较。完成的标准是:可以通过 C# SDK 创建或更新租户,并启用 email/password 以及配置密码要求。

由索引模型根据 Issue 内容生成。

描述

api: auth

Feature Request: Add Email/Password Provider Configuration to Tenant

Description

I would like to request the addition of a feature in the FirebaseAdmin SDK for C# to allow adding email/password provider configuration to a specific tenant in Firebase Authentication. Currently, there is no direct API available in the SDK to enable and configure the email/password provider for a tenant.

Proposed Solution

Ideally, the FirebaseAdmin SDK for C# should provide a dedicated API or method to update the authentication configuration of a tenant and enable the email/password provider with specific settings such as password requirements.

In the node SDK version of Firebase you can do the following:

    const tenant = await this.firebase
      .auth()
      .tenantManager()
      .createTenant({
        displayName: NAME,
        emailSignInConfig: {
          enabled: true,
          passwordRequired: true
        }
      });
Alternatives

As a workaround, I understand that it is possible to make direct HTTP requests to the Firebase Authentication REST API to achieve this functionality. However, it would be more convenient and consistent to have this feature directly available in the SDK.

Thank you for considering this feature request. Please let me know if any further information is needed.

主要语言
C#
星标
407
派生
147
平均合并
1 天 3 小时
30 天内合并 PR
10

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

firebase/firebase-admin-dotnet 的其他 Issue

查看 firebase/firebase-admin-dotnet 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。