use crateError;
/// Validate the format of an OAuth scope, as defined in [RFC 6749].
///
/// OAuth scopes may only contain:
/// - \x21 (`!`)
/// - Characters in the range \x23 (`#`) to \x5B (`[`)
/// - Characters in the range \x5D (`]`) to \x7E (`~`)
///
/// [RFC 6749]: https://datatracker.ietf.org/doc/html/rfc6749#section-3.3