(
inner: S,
authenticator_chain: Option<AuthenticatorChain>,
authz_policy: Option<AuthzPolicy>,
peer_identity: Option<Identity>,
mtls_auth_enabled: bool,
| 497 | } |
| 498 | |
| 499 | fn with_peer_identity( |
| 500 | inner: S, |
| 501 | authenticator_chain: Option<AuthenticatorChain>, |
| 502 | authz_policy: Option<AuthzPolicy>, |
| 503 | peer_identity: Option<Identity>, |
| 504 | mtls_auth_enabled: bool, |
| 505 | allow_unauthenticated_users: bool, |
| 506 | ) -> Self { |
| 507 | Self { |
| 508 | inner, |
| 509 | authenticator_chain, |
| 510 | authz_policy, |
| 511 | peer_identity, |
| 512 | mtls_auth_enabled, |
| 513 | allow_unauthenticated_users, |
| 514 | } |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | fn unauthenticated_dev_user_principal() -> Principal { |
nothing calls this directly
no outgoing calls
no test coverage detected