openagent-scim · mapping
Declared module signatures, types, configuration, and source documentation.
Source: openagent-sdk/bridges/scim/rust/src/mapping.rs. SHA-256: fb8f084d5f431f079aa7cf4b3fa6e4acf4721c80adec4890c714cf071aea56d3.
This source reference follows declared modules and preserves feature attributes. It includes public declarations and implementation methods in those modules. Private-module exports and trait resolution still require the compiler; not every declaration is a crate-root import. Function bodies and constant values are omitted. Source comments describe their implementation context and are not a production deployment claim.
mapping::agent_to_scim_resource
Convert an internal AgentRecord into a SCIM ScimAgentResource.
pub fn agent_to_scim_resource(agent: &AgentRecord, base_url: &str) -> ScimAgentResource;Source line: 9.
mapping::scim_resource_to_agent
Convert a SCIM resource back to an internal AgentRecord.
This is used when processing SCIM PUT requests that provide a full replacement resource.
pub fn scim_resource_to_agent(
resource: &ScimAgentResource,
existing: &AgentRecord,
) -> AgentRecord;Source line: 48.
mapping::derive_did
Derive a deterministic DID from namespace + userName.
pub fn derive_did(namespace: &str, user_name: &str) -> String;Source line: 72.
mapping::derive_keypair_fingerprint
Derive a keypair fingerprint for a provisioned agent.
pub fn derive_keypair_fingerprint(did: &str) -> String;Source line: 83.
mapping::compute_lineage_depth
Compute lineage depth: 1 if parent is HMR/MHR, otherwise derived.
pub fn compute_lineage_depth(parent_did: &str, parent_depth: Option<u32>) -> u32;Source line: 92.
mapping::parse_conformance_level
Validate a conformance level string.
pub fn parse_conformance_level(s: &str) -> Result<ConformanceLevel, String>;Source line: 103.