Skip to main content

Module user_store

Module user_store 

Source
Expand description

User credential store abstraction.

UserStore is the sealed backend trait. Production callers obtain an admitted super::ProductionUserStore rather than constructing or injecting an arbitrary implementation.

Structs§

DeviceRecord
An anonymous device identity record.
ExternalIdentityBinding
One external identity allowed to authenticate as a hosted account.
ExternalIdentityResolution
Durable result of atomically resolving or binding an external IdP identity.
HostedAccountProvisioning
Result of atomically inserting a hosted account into the AS credential store together with its first authentication key.
PubkeyEntry
A pubkey entry associated with a user (like GitHub SSH keys).
UserFilter
Filter parameters for user search (SCIM-aligned).
UserProfile
User profile data (OIDC standard claims + SCIM-informed fields).
UserProfilePatch
Tri-state patch for profile fields: omitted, explicitly cleared, or replaced.

Enums§

AccountKeyCustody
Who controls the account’s authentication key material.
HostedAccountProvisionError
Fail-closed conflict/backend distinction for hosted-account provisioning.
KeyAlgorithm
The public-key algorithm of a stored PubkeyEntry.
ScimFilter
A parsed SCIM filter expression (RFC 7644 §3.4.2.2).

Traits§

DeviceStore
Storage operations for anonymous device records.
UserStore
Abstraction over user credential stores.

Functions§

decode_pubkey_base64
Decode a base64-encoded Ed25519 public key.
pubkey_fingerprint
Compute the SSH fingerprint of a pubkey (matches ssh-keygen -l -E sha256).