Skip to main content

verify_auth

Function verify_auth 

Source
pub fn verify_auth(
    auth_config: Option<&AuthConfig>,
    headers: &HeaderMap,
    body: &[u8],
) -> AuthResult
Expand description

Verify authentication for a webhook request

If both signature and bearer token are configured, both must pass.