namespace ZB.MOM.WW.MxGateway.Server.Security.Authentication;
/// Verifies API key authorization headers and returns the authenticated identity.
public interface IApiKeyVerifier
{
/// Parses and verifies an authorization header, returning success with identity or a failure reason.
/// The authorization header value to verify.
/// Token to cancel the asynchronous operation.
Task VerifyAsync(
string? authorizationHeader,
CancellationToken cancellationToken);
}