get_preferred_username

Function get_preferred_username 

Source
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.