pub struct EnterpriseSecurityConfig {
pub rate_limiting_enabled: bool,
pub auth_endpoint_max_requests: u32,
pub auth_endpoint_window_seconds: u64,
pub audit_logging_enabled: bool,
pub audit_log_backend: String,
pub audit_retention_days: u32,
pub error_sanitization: bool,
pub hide_implementation_details: bool,
pub constant_time_comparison: bool,
pub pkce_enabled: bool,
}Expand description
Enterprise security features.
Fields§
§rate_limiting_enabled: boolEnable rate limiting.
auth_endpoint_max_requests: u32Max requests per window.
auth_endpoint_window_seconds: u64Rate limit window in seconds.
audit_logging_enabled: boolEnable audit logging.
audit_log_backend: StringAudit log backend: postgresql, file, syslog.
audit_retention_days: u32Audit log retention in days.
error_sanitization: boolEnable error sanitization.
hide_implementation_details: boolHide implementation details.
constant_time_comparison: boolEnable constant-time comparison.
pkce_enabled: boolEnable PKCE for OAuth.
Trait Implementations§
Source§impl Clone for EnterpriseSecurityConfig
impl Clone for EnterpriseSecurityConfig
Source§fn clone(&self) -> EnterpriseSecurityConfig
fn clone(&self) -> EnterpriseSecurityConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnterpriseSecurityConfig
impl Debug for EnterpriseSecurityConfig
Source§impl Default for EnterpriseSecurityConfig
impl Default for EnterpriseSecurityConfig
Source§impl<'de> Deserialize<'de> for EnterpriseSecurityConfig
impl<'de> Deserialize<'de> for EnterpriseSecurityConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EnterpriseSecurityConfig
impl PartialEq for EnterpriseSecurityConfig
Source§impl Serialize for EnterpriseSecurityConfig
impl Serialize for EnterpriseSecurityConfig
impl Eq for EnterpriseSecurityConfig
impl StructuralPartialEq for EnterpriseSecurityConfig
Auto Trait Implementations§
impl Freeze for EnterpriseSecurityConfig
impl RefUnwindSafe for EnterpriseSecurityConfig
impl Send for EnterpriseSecurityConfig
impl Sync for EnterpriseSecurityConfig
impl Unpin for EnterpriseSecurityConfig
impl UnsafeUnpin for EnterpriseSecurityConfig
impl UnwindSafe for EnterpriseSecurityConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more