(method: &str)
| 93 | /// `oidc::is_unauthenticated_method`. |
| 94 | #[must_use] |
| 95 | pub fn is_unauthenticated(method: &str) -> bool { |
| 96 | matches!( |
| 97 | lookup(method).map(|m| m.mode), |
| 98 | Some(AuthMode::Unauthenticated) |
| 99 | ) |
| 100 | } |
| 101 | |
| 102 | /// `true` if the method is callable by a `Principal::Sandbox` |
| 103 | /// (`sandbox` or `dual` auth mode). |
no outgoing calls
no test coverage detected