namespace ZB.MOM.WW.MxGateway.Server.Security.Authentication;

public interface IApiKeyParser
{
    /// <summary>Attempts to parse an authorization header and extract the API key.</summary>
    /// <param name="authorizationHeader">Authorization header value to parse.</param>
    /// <param name="apiKey">Parsed API key if successful.</param>
    bool TryParseAuthorizationHeader(string? authorizationHeader, out ParsedApiKey? apiKey);
}
