Skip to content

Commit

Permalink
Point to 'mtls::Certificate' in mTLS config docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Jul 20, 2021
1 parent cc06216 commit 534f43c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/lib/src/config/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")))]
Expand Down

0 comments on commit 534f43c

Please sign in to comment.