| 477 | /// handlers enforce same-sandbox scope on request bodies. |
| 478 | #[derive(Clone)] |
| 479 | pub 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 | |
| 489 | impl<S> AuthGrpcRouter<S> { |
| 490 | #[cfg(test)] |
nothing calls this directly
no outgoing calls
no test coverage detected