merging branches

This commit is contained in:
amirrezaghabeli
2025-09-17 10:15:41 +03:30
parent d43aced4bd
commit 43ef5bd48b
10 changed files with 513 additions and 46 deletions
@@ -5,6 +5,7 @@ import 'package:tm_app/data/services/model/verify_otp_response/verify_otp_respon
import '../../core/utils/result.dart';
import '../services/auth_service.dart';
import '../services/model/logout_response/logout_response.dart';
import '../services/model/reset_password_response/reset_password_response.dart';
class AuthRepository {
final AuthService _authService;
@@ -23,6 +24,13 @@ class AuthRepository {
return _authService.logout();
}
Future<Result<ResetPasswordResponse>> resetPassword({
required String newPassword,
required String token,
}) async {
return _authService.resetPassword(newPassword: newPassword, token: token);
}
Future<void> localLogout() async {
return _authService.localLogout();
}