TF-1899 Implement interactor for get stored session

(cherry picked from commit 05eb5a5b9da2ab3fba64ea08591fd787a736549e)
This commit is contained in:
dab246
2023-06-07 00:13:54 +07:00
committed by Dat Vu
parent 00d8499879
commit 29a81c1c96
7 changed files with 72 additions and 0 deletions
@@ -18,4 +18,9 @@ class SessionRepositoryImpl extends SessionRepository {
Future<void> storeSession(Session session) {
return sessionDataSource[DataSourceType.hiveCache]!.storeSession(session);
}
@override
Future<Session> getStoredSession() {
return sessionDataSource[DataSourceType.hiveCache]!.getStoredSession();
}
}