MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / is_unauthenticated

Function is_unauthenticated

crates/openshell-server/src/auth/method_authz.rs:95–100  ·  view source on GitHub ↗
(method: &str)

Source from the content-addressed store, hash-verified

93/// `oidc::is_unauthenticated_method`.
94#[must_use]
95pub 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).

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected