Added a `SenderLoginResult` enum to represent outcomes of sender login attempts. Implemented the `LoginSenderAsync` method in `AuthService` to authenticate sender users via the `/api/auth?cookie=true` endpoint. The method handles HTTP response codes and returns appropriate `SenderLoginResult` values. Included the `System.Net.Http.Json` namespace to support JSON-based HTTP requests.
3.2 KiB
3.2 KiB