firebase / firebase/firebase-cpp-sdk
[FR] Missing claims on GetToken
- 主要语言
- C++
- 星标
- 326
- 派生
- 137
- 平均合并
- 3 天 9 小时
- 30 天内合并 PR
- 5
描述
### Feature proposal
* Firebase Component: Auth (Auth, Core, Database, Firestore, Messaging, Storage, etc)
On other platforms, we have a way of accessing the claims associated with a token. For instance on Android: https://firebase.google.com/docs/reference/android/com/google/firebase/auth/GetTokenResult
On Desktop C++ the `GetToken` only returns a string: https://firebase.google.com/docs/reference/cpp/class/firebase/auth/user#gettoken
We should support claims.
Requested on FlutterFire repo: https://github.com/firebase/flutterfire/issues/11949
贡献指南
调研方向
从 Desktop C++ Auth User::GetToken API 开始,并将其仅返回字符串的结果与 issue 中链接的 Android GetTokenResult 参考进行比较。审查相关的 FlutterFire 请求,并确定 claims 的表示方式、API 形态、兼容性要求以及使该功能被视为完成所需的验证。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- authentication, backend-api-design
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100