felangel / felangel/fresh

Fresh should export a Storage interface which means it can work with any storage provider. Out of the box, it should come with its own implementation: FreshTokenStorage, based on Hive.

Ouverte
#28 0 commentaires 6 réactions 1 personne assignée Réclamée par @felangel Voir sur GitHub
enhancement
Langage dominant
Dart
Étoiles
428
Forks
60
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Currently fresh allows the user to store tokens in which every token storage they may choose.
What if fresh acted a little bit like HydratedBloc and provided a HydratedBlocStorage which is based on Hive.

And additionally the end user should be given an option to extend HydratedStorage to use whichever storage media they choose.

For my private project I have extended OAuth2Token and created a new Token class and corresponding type adapter which can be stored in Hive.

And Extended TokenStorage to create a HiveTokenStorage.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

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