Updated `AuthScheme` to introduce a distinct `Sender` scheme and renamed the `Receiver` scheme for clarity. Updated `Program.cs` to use the new `Sender` scheme in JWT authentication and explicitly associate authentication schemes with `Sender` and `Receiver` policies. Removed the deprecated `AuthPolicy.ReceiverTFA` policy. These changes improve the separation and maintainability of authentication and authorization logic.
13 KiB
13 KiB