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
.
pub fn parse_token(authorization: &HeaderValue) -> String
Parses the token from the Authorization
header.
This function will panic if the Authorization
header is not a valid String
.