Expand description
Framework-agnostic SCIM operation handler.
This module provides structured request/response handling for SCIM operations with built-in ETag concurrency control and comprehensive error handling.
§Key Types
ScimOperationHandler- Main handler for processing SCIM operationsScimOperationRequest- Structured request wrapper with validationScimOperationResponse- Response with metadata and ETag information
§Examples
use scim_server::operation_handler::{ScimOperationHandler, ScimOperationRequest};
use scim_server::{ScimServer, providers::InMemoryProvider};
use serde_json::json;
let provider = InMemoryProvider::new();
let server = ScimServer::new(provider)?;
let handler = ScimOperationHandler::new(server);
let request = ScimOperationRequest::update("User", "123", json!({"active": true}));
let response = handler.handle_operation(request).await;Modules§
Structs§
- Operation
Metadata - Metadata about a SCIM operation
- Scim
Operation Handler - Framework-agnostic operation handler for SCIM operations
- Scim
Operation Request - Structured request for SCIM operations
- Scim
Operation Response - Structured response from SCIM operations
- Scim
Query - Query parameters for list and search operations
Enums§
- Scim
Operation Type - Types of SCIM operations supported by the handler
Functions§
- create_
error_ response - Create an error response from a ScimError.
- create_
version_ conflict_ response - Create a response for version conflicts.