Skip to main content

credential_accepted

Function credential_accepted 

Source
fn credential_accepted(header: Option<&str>, expected: &str) -> bool
Expand description

Scheme-agnostic: whatever word the client puts in front, the credential after it is what is checked.