namespace MxGateway.Server.Dashboard; /// /// Authenticates dashboard access with API keys. /// public interface IDashboardAuthenticator { /// /// Authenticates the dashboard session with an API key. /// /// The API key to authenticate. /// Token to cancel the asynchronous operation. Task AuthenticateAsync( string? username, string? password, CancellationToken cancellationToken); }