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.

オープン
#28 コメント 0 件 リアクション 6 件 担当者 1 名 @felangel が担当を希望しています GitHub で見る
enhancement
主要言語
Dart
スター
428
フォーク
60
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。