import 'package:dartz/dartz.dart';
import '../../../../core/failure.dart';
import 'user_entity.dart';

abstract class AuthRepository {
  // Pake Either: Kiri balikin Failure, Kanan balikin UserEntity
  Future<Either<Failure, UserEntity>> login(String email, String password);
}