mirror of https://github.com/rwf2/Rocket.git
Point to 'mtls::Certificate' in mTLS config docs.
This commit is contained in:
parent
cc0621626b
commit
534f43c223
|
@ -153,6 +153,9 @@ pub struct TlsConfig {
|
||||||
/// rocket::custom(config)
|
/// 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)]
|
#[derive(PartialEq, Debug, Clone, Deserialize, Serialize)]
|
||||||
#[cfg(feature = "mtls")]
|
#[cfg(feature = "mtls")]
|
||||||
#[cfg_attr(nightly, doc(cfg(feature = "mtls")))]
|
#[cfg_attr(nightly, doc(cfg(feature = "mtls")))]
|
||||||
|
|
Loading…
Reference in New Issue