pub struct ServiceProviderConfig {
pub patch_supported: bool,
pub bulk_supported: bool,
pub filter_supported: bool,
pub change_password_supported: bool,
pub sort_supported: bool,
pub etag_supported: bool,
pub authentication_schemes: Vec<AuthenticationScheme>,
pub bulk_max_operations: Option<u32>,
pub bulk_max_payload_size: Option<u64>,
pub filter_max_results: Option<u32>,
}Expand description
Service provider configuration as defined in RFC 7644.
This structure describes the capabilities and configuration of the SCIM service provider, allowing clients to discover what features are supported.
Fields§
§patch_supported: boolWhether PATCH operations are supported
bulk_supported: boolWhether bulk operations are supported
filter_supported: boolWhether filtering is supported
change_password_supported: boolWhether password change operations are supported
sort_supported: boolWhether sorting is supported
etag_supported: boolWhether ETags are supported for versioning
authentication_schemes: Vec<AuthenticationScheme>Authentication schemes supported
bulk_max_operations: Option<u32>Maximum number of operations in a bulk request
bulk_max_payload_size: Option<u64>Maximum payload size for bulk operations
filter_max_results: Option<u32>Maximum number of resources returned in a query
Trait Implementations§
Source§impl Clone for ServiceProviderConfig
impl Clone for ServiceProviderConfig
Source§fn clone(&self) -> ServiceProviderConfig
fn clone(&self) -> ServiceProviderConfig
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 ServiceProviderConfig
impl Debug for ServiceProviderConfig
Source§impl Default for ServiceProviderConfig
impl Default for ServiceProviderConfig
Source§impl<'de> Deserialize<'de> for ServiceProviderConfig
impl<'de> Deserialize<'de> for ServiceProviderConfig
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 ServiceProviderConfig
impl PartialEq for ServiceProviderConfig
Source§impl Serialize for ServiceProviderConfig
impl Serialize for ServiceProviderConfig
impl Eq for ServiceProviderConfig
impl StructuralPartialEq for ServiceProviderConfig
Auto Trait Implementations§
impl Freeze for ServiceProviderConfig
impl RefUnwindSafe for ServiceProviderConfig
impl Send for ServiceProviderConfig
impl Sync for ServiceProviderConfig
impl Unpin for ServiceProviderConfig
impl UnwindSafe for ServiceProviderConfig
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<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 moreSource§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.