(method: &str)
| 77 | /// apply (`unauthenticated`, `sandbox`). |
| 78 | #[must_use] |
| 79 | pub fn required_scope(method: &str) -> Option<&'static str> { |
| 80 | lookup(method).and_then(|m| m.scope) |
| 81 | } |
| 82 | |
| 83 | /// Required role for the method on the Bearer path. |
| 84 | #[must_use] |