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 domains::auth::error::*;pub use domains::compliance::error::*;pub use domains::device::error::*;pub use domains::device::types::*;pub use domains::diagnostics::types::*;pub use domains::identity::error::*;pub use domains::identity::types::*;pub use domains::org::error::*;pub use domains::signing::types::*;
Modules§
- agent_
core - Re-exports of agent process types from
auths-core. Re-exports of agent types fromauths-core. - attestation
- Re-exports of attestation operations from
auths-id. Re-exports of attestation types and operations fromauths-id. - audit
- Audit event emission convenience for SDK operations. Audit event emission convenience for SDK operations.
- context
- Runtime dependency container (
AuthsContext) for injecting infrastructure adapters. Runtime dependency container for auths-sdk operations. - core_
config - Re-exports of configuration types from
auths-core. Re-exports of configuration types fromauths-core. - crypto
- Re-exports of cryptographic utilities from
auths-core. Re-exports of cryptographic utilities fromauths-core. - device
- Device linking, revocation, and authorization extension operations. Re-exports from the device domain for backwards compatibility.
- domains
- Domain services for specialized business logic. Domain services for Auths functionality.
- error
- Domain error types for all SDK operations.
- ffi
- Re-exports of FFI types from
auths-core. Re-exports of FFI types fromauths-core. - freeze
- Re-exports of freeze types from
auths-id. Re-exports of freeze types fromauths-id. - identity
- Re-exports of identity types and operations from
auths-id. Re-exports of identity types and operations fromauths-id. - keri
- Re-exports of KERI cache module from
auths-id. Re-exports of KERI cache module fromauths-id, plus SDK-level copy constants that both the CLI and mobile surfaces consume. - keychain
- Re-exports of keychain and key storage types from
auths-core. Re-exports of keychain, encrypted file storage, and passphrase cache types fromauths-core. - keys
- Key import and management operations. Key import and management operations.
- namespace_
registry - Namespace verifier adapter registry mapping ecosystems to implementations. Namespace verifier adapter registry.
- oidc_
jti_ registry - OIDC JWT ID (jti) registry for token replay detection.
- pairing
- Device pairing orchestration over ephemeral ECDH sessions. Device pairing orchestration.
- paths
- Re-exports of path utilities from
auths-core. Re-exports of path utilities fromauths-core. - platform
- Platform identity claim creation and verification. Re-exports from the signing domain for backwards compatibility.
- 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. Re-exports from the identity domain for backwards compatibility.
- result
- Return types for SDK workflow functions. Re-exports of domain result types for backwards compatibility.
- setup
- Identity provisioning for developer, CI, and agent environments. Re-exports from the identity domain for backwards compatibility.
- signing
- Artifact signing pipeline and attestation creation. Re-exports from the signing domain for backwards compatibility.
- storage
- Re-exports of Git storage backend types from
auths-storage. Re-exports of Git storage backend types fromauths-storage. - storage_
layout - Re-exports of storage layout types from
auths-id. Re-exports of storage layout types fromauths-id. - trust
- Re-exports of trust and pinned identity types from
auths-core. Re-exports of trust and pinned identity types fromauths-core. - types
- Plain-old-data config structs for all SDK workflows. Re-exports of domain configuration types for backwards compatibility.
- verify
- Re-exports of verification helpers from
auths-verifier. Re-exports of verification helpers fromauths-verifier. - witness
- Re-exports of witness server and config types. Re-exports of witness server and config types.
- workflows
- Higher-level identity workflows (rotation, provisioning, auditing).
Traits§
- Event
Sink - Re-export the canonical
EventSinktrait fromauths-telemetry. Synchronous, fire-and-forget sink for structured telemetry payloads.