Skip to main content

authorization

Function authorization 

Source
pub fn authorization(headers: &HeaderMap) -> Option<&str>
Expand description

The Authorization header a request carries, as authentication reads it.

A value that is not visible ASCII is no header at all: it cannot be a bearer token, and it is answered as a request that sent none.