Skip to main content

normalize_token

Function normalize_token 

Source
pub fn normalize_token(raw: &str) -> Option<String>
Expand description

Normalize a role/profile token: trim, lowercase. Returns None if empty or if the token contains whitespace / quotes / backticks / =.