FormidableLabs / FormidableLabs/react-native-app-auth

Feature request: Automatic renew

Ouverte
#69 2 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Java
Étoiles
2.3k
Forks
473
Métriques de merge des PR
Aucune PR mergée en 30 j

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 ;)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Aucun fichier ni test n’est nommé. Commencez par examiner le React Native bridge et son AppAuth refresh flow, puis déterminez comment une méthode automaticRefresh proposée pourrait utiliser la refresh configuration, une token response existante et un refresh callback. Done doit inclure une conception et un comportement convenus pour le renouvellement automatique.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react-native
Domaine
authentication, mobile
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.