Function authorize_sql_ingress
pub fn authorize_sql_ingress(
path: &str,
private_auth: Option<&str>,
sql_auth: &SqlIngressAuth,
has_bearer: impl Fn(&str) -> bool,
) -> Result<(), SqlAuthorizationError>Expand description
Apply the two-token authority rule after a host has supplied its header matcher.