FormidableLabs / FormidableLabs/react-native-app-auth
Feature request: Automatic renew
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 473
- PR merge metrics
- No merged PRs in 30d
Description
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 ;)
Contributor guide
Research direction
No files or tests are named. Start by reviewing the React Native bridge and its AppAuth refresh flow, then determine how a proposed automaticRefresh method could use refresh configuration, an existing token response, and a refresh callback. Done should include an agreed design and behavior for automatic renewal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- authentication, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100