FormidableLabs / FormidableLabs/react-native-app-auth

Feature request: Automatic renew

Offen
#69 2 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
2.3k
Forks
473
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.