Enum static_web_server::tls::TlsClientAuth
source · pub enum TlsClientAuth {
Off,
Optional(Box<dyn Read + Send + Sync>),
Required(Box<dyn Read + Send + Sync>),
}Expand description
Tls client authentication configuration.
Variants§
Off
No client auth.
Optional(Box<dyn Read + Send + Sync>)
Allow any anonymous or authenticated client.
Required(Box<dyn Read + Send + Sync>)
Allow any authenticated client.