diff --git a/core/lib/src/config/tls.rs b/core/lib/src/config/tls.rs index 556c6b59..3c833a0a 100644 --- a/core/lib/src/config/tls.rs +++ b/core/lib/src/config/tls.rs @@ -153,6 +153,9 @@ pub struct TlsConfig { /// rocket::custom(config) /// } /// ``` +/// +/// Once mTLS is configured, the [`mtls::Certificate`](crate::mtls::Certificate) +/// request guard can be used to retrieve client certificates in routes. #[derive(PartialEq, Debug, Clone, Deserialize, Serialize)] #[cfg(feature = "mtls")] #[cfg_attr(nightly, doc(cfg(feature = "mtls")))]