namespace Distribution.Features.Auth; /// /// Typed HttpClient that proxies requests to the external Auth Service. /// Registered via AddHttpClient<AuthServiceClient> in Program.cs. /// BaseAddress is configured from AuthService:BaseUrl in appsettings.json. /// /// TODO: Implement methods once Auth Service contract is agreed. /// public class AuthServiceClient(HttpClient http) : IAuthServiceClient { // TODO: implement proxy methods, e.g.: // // public async Task LoginAsync(LoginRequest request, CancellationToken ct) // { // var response = await http.PostAsJsonAsync("/TODO_AUTH_SERVICE_LOGIN_PATH", request, ct); // if (!response.IsSuccessStatusCode) return null; // return await response.Content.ReadFromJsonAsync(ct); // } }