11 lines
245 B
Dart
Raw Normal View History

2025-08-16 17:27:57 +07:00
part of '../auth.dart';
abstract class IAuthRepository {
Future<Either<AuthFailure, Auth>> login({
required String email,
required String password,
});
2025-08-16 17:48:49 +07:00
Future<bool> hasToken();
Future<Either<AuthFailure, User>> currentUser();
2025-08-16 17:27:57 +07:00
}