Checks if the given scopes match the predefined scopes.
(scopes: &[S])
| 14 | |
| 15 | /// Checks if the given scopes match the predefined scopes. |
| 16 | pub(crate) fn is_scopes<S: AsRef<str>>(scopes: &[S]) -> bool { |
| 17 | scopes_match(SCOPES, scopes) |
| 18 | } |
| 19 | |
| 20 | #[cfg(test)] |
| 21 | mod tests { |
no test coverage detected