Function authenticate_user

Source
pub fn authenticate_user(auth_header: &str) -> Result<CurrentUser, Error>
Expand description

Retrieve the user information from a JWT token. Do not include the Bearer prefix, only the actual JWT token.