Module auth

Module auth 

Source
Expand description

Authentication system for multi-writer records Authentication system for multi-writer records.

This module provides the WriteAuth trait and various adapters for different authentication schemes.

Structs§

CompositeWriteAuth
Composite authentication that requires multiple auth methods to pass
DelegatedWriteAuth
Delegated authentication allowing multiple authorized writers
MlsWriteAuth
MLS (Message Layer Security) proof-based authentication This is a placeholder for integration with saorsa-mls
PubKey
A public key
Sig
A cryptographic signature
SingleWriteAuth
Single-writer authentication using a single public key
ThresholdWriteAuth
Threshold authentication requiring t-of-n signatures NOTE: saorsa-seal 0.1.1 doesn’t export the expected types (ThresholdVerifier, ShareSignature, PublicKeyShare) This is a placeholder implementation until the proper types are available

Traits§

MlsProofVerifier
Verifier interface for MLS proofs. External integrations (e.g., saorsa-mls) should register an implementation at startup using set_mls_verifier.
WriteAuth
Trait for verifying write authority on records.

Functions§

set_mls_verifier
Register a global MLS proof verifier