Returns `true` if the method needs no authentication at all.
(path: &str)
| 34 | |
| 35 | /// Returns `true` if the method needs no authentication at all. |
| 36 | pub fn is_unauthenticated_method(path: &str) -> bool { |
| 37 | super::method_authz::is_unauthenticated(path) |
| 38 | || UNAUTHENTICATED_PREFIXES |
| 39 | .iter() |
| 40 | .any(|prefix| path.starts_with(prefix)) |
| 41 | } |
| 42 | |
| 43 | /// Cached JWKS key set fetched from the OIDC issuer. |
| 44 | /// |
no test coverage detected