Skip to main content

Crate auths_sdk

Crate auths_sdk 

Source
Expand description

§auths-sdk

Application services layer for Auths identity operations.

This crate provides high-level orchestration functions for identity management, device linking, platform verification, and registry operations. It sits between the CLI (I/O adapter) and the domain crates (auths-core, auths-id).

§Architecture

auths-cli  →  auths-sdk  →  auths-core + auths-id
(I/O adapter)  (orchestration)  (domain)

SDK functions accept typed configs and return structured Result types. They never prompt for input, print to stdout, or call process::exit().

Re-exports§

pub use context::AuthsContext;
pub use context::EventSink;

Modules§

context
Runtime dependency container (AuthsContext) for injecting infrastructure adapters. Runtime dependency container for auths-sdk operations.
device
Device linking, revocation, and authorization extension operations.
error
Domain error types for all SDK operations.
keys
Key import and management operations. Key import and management operations.
pairing
Device pairing orchestration over ephemeral ECDH sessions. Device pairing orchestration.
platform
Platform identity claim creation and verification.
ports
Port traits for external I/O adapters (artifact, git, diagnostics).
presentation
HTML and structured report rendering.
registration
Remote registry publication for public DID discovery.
result
Return types for SDK workflow functions.
setup
Identity provisioning for developer, CI, and agent environments.
signing
Artifact signing pipeline and attestation creation. Signing pipeline orchestration.
types
Plain-old-data config structs for all SDK workflows.
workflows
Higher-level identity workflows (rotation, provisioning, auditing).