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

Class AuthGrpcRouter

crates/openshell-server/src/multiplex.rs:479–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477/// handlers enforce same-sandbox scope on request bodies.
478#[derive(Clone)]
479pub struct AuthGrpcRouter<S> {
480 inner: S,
481 authenticator_chain: Option<AuthenticatorChain>,
482 authz_policy: Option<AuthzPolicy>,
483 /// mTLS peer identity extracted from the TLS handshake.
484 peer_identity: Option<Identity>,
485 mtls_auth_enabled: bool,
486 allow_unauthenticated_users: bool,
487}
488
489impl<S> AuthGrpcRouter<S> {
490 #[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected