mirror of
https://github.com/foss42/apidash.git
synced 2025-12-10 15:23:19 +08:00
refactor: move auth models to better_networking package
This commit is contained in:
@@ -7,7 +7,6 @@ import '../consts.dart';
|
||||
import '../extensions/extensions.dart';
|
||||
import '../models/models.dart';
|
||||
import '../utils/utils.dart';
|
||||
import '../utils/handle_auth.dart';
|
||||
import 'http_client_manager.dart';
|
||||
|
||||
typedef HttpResponse = http.Response;
|
||||
@@ -28,11 +27,7 @@ Future<(HttpResponse?, Duration?, String?)> sendHttpRequest(
|
||||
final client = httpClientManager.createClient(requestId, noSSL: noSSL);
|
||||
|
||||
// Handle authentication
|
||||
<<<<<<< HEAD:packages/better_networking/lib/services/http_service.dart
|
||||
final authenticatedRequestModel = handleAuth(requestModel, authModel);
|
||||
=======
|
||||
final authenticatedRequestModel = handleAuth(requestModel, authData);
|
||||
>>>>>>> f24eb4e6 (feat: remove AuthModel from HttpRequestModel and integrate into HistoryRequestModel and RequestModel):packages/apidash_core/lib/services/http_service.dart
|
||||
|
||||
(Uri?, String?) uriRec = getValidRequestUri(
|
||||
authenticatedRequestModel.url,
|
||||
|
||||
Reference in New Issue
Block a user