Enum oxide_auth::primitives::scope::ParseScopeErr
[−]
[src]
pub enum ParseScopeErr {
InvalidCharacter(char),
}Error returned from parsing a scope as encoded in an authorization token request.
Variants
InvalidCharacter(char)A character was encountered which is not allowed to appear in scope strings.
Scope-tokens are restricted to the following subset of ascii: - The character '!' - The character range '\x32' to '\x5b' which includes numbers and upper case letters - The character range '\x5d' to '\x7e' which includes lower case letters Individual scope-tokens are separated by spaces.
In particular, the characters '\x22' (") and '\x5c' (\) are not allowed.