TF-34 Add domain layer login for fix bug mock data user
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import 'package:model/model.dart';
|
||||
|
||||
abstract class AuthenticationRepository {
|
||||
Future<User> authenticationUser(Uri baseUrl, UserName userName, Password password);
|
||||
Future<UserProfile> authenticationUser(Uri baseUrl, UserName userName, Password password);
|
||||
}
|
||||
@@ -18,4 +18,10 @@ abstract class CredentialRepository {
|
||||
Future removePassword();
|
||||
|
||||
Future<Password> getPassword();
|
||||
|
||||
Future saveUserProfile(UserProfile userProfile);
|
||||
|
||||
Future removeUserProfile();
|
||||
|
||||
Future<UserProfile> getUserProfile();
|
||||
}
|
||||
Reference in New Issue
Block a user