merging branches
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user