cat_gateway::service::common::auth::api_key

Function check_api_key

source
pub(crate) fn check_api_key(headers: &HeaderMap) -> Result<()>
Expand description

Check if the API Key is correctly set. Returns an error if it is not.