pub fn validate_token(token: &str) -> Result<(), AuthError>
Reject tokens that cannot safely be represented in a quoted .npmrc value.
.npmrc