Skip to main content

credential_accepted

Function credential_accepted 

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

Exactly Bearer <token>: case-sensitive, one space, no other scheme.