pub fn parse_token(authorization: &HeaderValue) -> StringExpand description
Parses the token from the Authorization header.
ยงPanics
This function will panic if the Authorization header is not a valid String.
pub fn parse_token(authorization: &HeaderValue) -> StringParses the token from the Authorization header.
This function will panic if the Authorization header is not a valid String.