Module providers

Module providers 

Source
Expand description

Standard resource provider implementations.

This module provides production-ready implementations of the ResourceProvider trait that can be used directly or as reference implementations for custom providers.

§Available Providers

  • StandardResourceProvider - RECOMMENDED Production-ready provider with pluggable storage backends
  • InMemoryProvider - ⚠️ REMOVED in v0.4.0 - Use StandardResourceProvider<InMemoryStorage> instead

All providers in this module implement the unified ResourceProvider trait, supporting both single-tenant and multi-tenant operations through the RequestContext interface.

§Quick Start

use scim_server::providers::StandardResourceProvider;
use scim_server::storage::InMemoryStorage;

// Recommended approach
let storage = InMemoryStorage::new();
let provider = StandardResourceProvider::new(storage);

Re-exports§

pub use crate::storage::InMemoryStorage;
pub use crate::storage::ProviderStats;
pub use crate::storage::StorageProvider;
pub use error::ProviderError;
pub use provider::ResourceProvider;
pub use standard::StandardResourceProvider;
pub use helpers::ConditionalOperations;
pub use helpers::MultiTenantProvider;
pub use helpers::ScimMetadataManager;
pub use helpers::ScimPatchOperations;
pub use helpers::ScimValidator;

Modules§

error
Error types for resource provider implementations.
helpers
Helper traits for composable SCIM ResourceProvider implementations.
provider
Resource provider trait for implementing SCIM data access.
standard
Standard resource provider module.