(method: &str)
| 83 | /// Required role for the method on the Bearer path. |
| 84 | #[must_use] |
| 85 | pub fn required_role(method: &str) -> Option<Role> { |
| 86 | lookup(method).and_then(|m| m.role) |
| 87 | } |
| 88 | |
| 89 | /// `true` if the method bypasses authentication entirely. |
| 90 | /// |