pub fn check_scopes(granted: &[String]) -> Result<(), AuthError>
An error naming the missing scopes, if any.