part of '../auth.dart';

abstract class IAuthRepository {
  Future<Either<AuthFailure, Auth>> login({
    required String email,
    required String password,
    required String deviceId,
    required String deviceName,
    required String deviceType,
    required String platform,
    required String osVersion,
    required String appVersion,
    String? fcmToken,
  });
  Future<bool> hasToken();
  Future<Either<AuthFailure, User>> currentUser();
  Future<Either<AuthFailure, Unit>> logout();
}
