Skip to main content

Crate subduction_keyhive_policy

Crate subduction_keyhive_policy 

Source
Expand description

Keyhive-based authorization policy and handler for Subduction connections.

Modules§

handler
Keyhive message handler for Subduction.

Structs§

SubductionKeyhive
A wrapper around Keyhive that implements ConnectionPolicy and StoragePolicy for Subduction.

Enums§

ConnectionDisallowedError
Error returned when a connection is not allowed.
FetchDisallowedError
Error returned when a fetch operation is not allowed.
PutDisallowedError
Error returned when a put operation is not allowed.

Functions§

try_peer_id_to_identifier
Try to convert a PeerId to an Identifier.
try_peer_id_to_individual_id
Try to convert a PeerId to an IndividualId.
try_sedimentree_id_to_document_id
Try to convert a SedimentreeId to a DocumentId.