Skip to main content

auth_header

Function auth_header 

Source
pub fn auth_header(token: &SecretString) -> String
Expand description

The Authorization header value - factored out for unit testing. This is the ONLY place the token leaves SecretString.