TF-886 Implement GetAuthenticationInfo stored in repository and datasource

This commit is contained in:
dab246
2022-09-06 19:10:50 +07:00
committed by Dat H. Pham
parent b95d294a3c
commit f108f5c726
7 changed files with 21 additions and 40 deletions
@@ -10,12 +10,8 @@ abstract class CredentialRepository {
Future removeUserName();
Future<UserName> getUserName();
Future removePassword();
Future<Password> getPassword();
Future saveUserProfile(UserProfile userProfile);
Future removeUserProfile();
@@ -23,4 +19,6 @@ abstract class CredentialRepository {
Future<UserProfile> getUserProfile();
Future<void> storeAuthenticationInfo(AuthenticationInfoCache authenticationInfoCache);
Future<AuthenticationInfoCache?> getAuthenticationInfoStored();
}