Skip to main content

auth_gate

Function auth_gate 

Source
pub(crate) fn auth_gate(
    path: &str,
    configured: Option<&str>,
    authorization: Option<&str>,
) -> AuthDecision
Expand description

Auth decision for a path given configured token and Authorization header.