pub fn get_preferred_username(token: &str) -> Result<String, MantaError>Expand description
Extract the preferred_username claim from a JWT token.
Returns "MISSING" if the claim is absent.
pub fn get_preferred_username(token: &str) -> Result<String, MantaError>Extract the preferred_username claim from a JWT token.
Returns "MISSING" if the claim is absent.