Skip to main content

Module identity_updates

Module identity_updates 

Source

Structs§

IdentityRequirement
A proof at one exact identity sequence. Zero is not an identity sequence.
IdentityResolutionRegistry
Share concurrent proof attempts for one client and bound network requests.
IdentityUpdates
InstallationDiff

Enums§

IdentityDependencyError
Separate a missing cached proof from invalid or unavailable identity history.
IdentityUpdateError
InstallationDiffError

Functions§

apply_signature_request_with_verifier
Apply a signature request to the client’s inbox by publishing the identity update to the network.
batch_get_association_state_with_verifier
Get the association state for all provided inbox_id/optional sequence_id tuples, using the cache when available If the association state is not available in the cache, this falls back to reconstructing the association state from Identity Updates in the network.
get_association_state_with_verifier
Get the association state for a given inbox_id up to the (and inclusive of) the to_sequence_id If no to_sequence_id is provided, use the latest value in the database
get_creation_signature_kind
is_member_of_association_state
A static lookup method to verify if an identity is a member of an inbox
load_identity_updates
For the given list of inbox_ids get all updates from the network that are newer than the last known sequence_id, write them in the db, and return the updates
revoke_installations_with_verifier
Revoke the given installations from the association state for the client’s inbox