Skip to main content

parse_bearer_token

Function parse_bearer_token 

Source
pub fn parse_bearer_token(header_value: &str) -> Option<String>
Expand description

Parse a single Authorization: Bearer <token> header value, returning None for malformed or non-Bearer schemes.