FormidableLabs / FormidableLabs/react-native-app-auth
Feature request: Automatic renew
未关闭
enhancement
- 主要语言
- Java
- 星标
- 2.3k
- 派生
- 473
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi, I've got another idea working with the lib the other day.
What do you think about adding ability to do automatic renew?
The way I see it working would be a method called something like automaticRefresh that would accept config (like normal refresh) plus existing token response (to know expiration) plus a callback that fires on refresh.
I think it's pretty straight forward, let me know what you think ;)
贡献指南
调研方向
未指定文件或测试。首先检查 React Native bridge 及其 AppAuth refresh flow,然后确定提议的 automaticRefresh 方法如何使用 refresh configuration、现有的 token response 和 refresh callback。Done 应包括自动续期的既定设计和行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native
- 领域
- authentication, mobile
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100