pub struct ScimEndpointConfig {
pub base_path: String,
pub include_tenant_in_path: bool,
pub tenant_path_pattern: Option<String>,
pub max_payload_size: usize,
pub scim_version: String,
pub supported_auth_schemes: Vec<ScimAuthScheme>,
}Expand description
SCIM endpoint configuration for a tenant.
Fields§
§base_path: StringBase path for SCIM endpoints (e.g., “/scim/v2”)
include_tenant_in_path: boolWhether to include tenant ID in the path
tenant_path_pattern: Option<String>Custom path pattern if include_tenant_in_path is true
max_payload_size: usizeMaximum request payload size for SCIM operations
scim_version: StringSCIM protocol version (typically “2.0”)
supported_auth_schemes: Vec<ScimAuthScheme>Supported SCIM authentication schemes
Trait Implementations§
Source§impl Clone for ScimEndpointConfig
impl Clone for ScimEndpointConfig
Source§fn clone(&self) -> ScimEndpointConfig
fn clone(&self) -> ScimEndpointConfig
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 ScimEndpointConfig
impl Debug for ScimEndpointConfig
Source§impl Default for ScimEndpointConfig
impl Default for ScimEndpointConfig
Source§impl<'de> Deserialize<'de> for ScimEndpointConfig
impl<'de> Deserialize<'de> for ScimEndpointConfig
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 ScimEndpointConfig
impl PartialEq for ScimEndpointConfig
Source§impl Serialize for ScimEndpointConfig
impl Serialize for ScimEndpointConfig
impl StructuralPartialEq for ScimEndpointConfig
Auto Trait Implementations§
impl Freeze for ScimEndpointConfig
impl RefUnwindSafe for ScimEndpointConfig
impl Send for ScimEndpointConfig
impl Sync for ScimEndpointConfig
impl Unpin for ScimEndpointConfig
impl UnwindSafe for ScimEndpointConfig
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<T> TenantValidator for T
impl<T> TenantValidator for T
Source§fn validate_tenant_context(
&self,
expected_tenant_id: &str,
context: &RequestContext,
) -> Result<(), String>
fn validate_tenant_context( &self, expected_tenant_id: &str, context: &RequestContext, ) -> Result<(), String>
Validate that the context has the expected tenant.
Source§fn validate_single_tenant_context(
&self,
context: &RequestContext,
) -> Result<(), String>
fn validate_single_tenant_context( &self, context: &RequestContext, ) -> Result<(), String>
Validate that the context is for single-tenant operation.
Source§fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
Extract tenant context or return error for multi-tenant operations.