Skip to main content

Module recipients

Module recipients 

Source
Expand description

Recipient management: authorize and revoke vault access.

Structs§

RevokeResult
Result of revoking a recipient.

Functions§

authorize_recipient
Add a recipient to the vault. Returns an error if the pubkey is invalid or already present.
revoke_recipient
Remove a recipient from the vault. recipient can be a pubkey or a display name. Returns an error if the recipient is not found or is the last one.