Function parse_token

Source
pub fn parse_token(authorization: &HeaderValue) -> String
Expand description

Parses the token from the Authorization header.

ยงPanics

This function will panic if the Authorization header is not a valid String.