Expand description
Entity is an abstraction over Profiles and Vaults, easing the use of these primitives in authentication and authorization APIs.
Modules§
- change_
history - Profile history
Structs§
- AllTrust
Policy - AnyTrust
Policy - Change
Block - Profile changes with a given event identifier
- Contact
- Contact is an abstraction responsible for storing user’s public data (mainly - public keys).
It is designed to share users’ public keys in cryptographically verifiable way.
Public keys together with metadata are organised into verifiable events chain exactly like
crate::Profile
. There are two ways to get Contact: - Create
KeyChange - Key change creation
- Create
KeyChange Data - Key change data creation
- Entity
- Entity
Access Control Builder - Entity
AnyId Access Control - Entity
Builder - Builder for
Entity
- Entity
IdAccess Control - Entity
Identifier - An identifier of a Profile.
- Entity
Secure Channel Local Info - Entity SecureChannel LocalInfo used for LocalMessage
- Entity
Worker - Event
Identifier - Unique
crate::ProfileChangeEvent
identifier, computed as SHA256 of the event data - KeyAttributes
- Attributes that are used to identify key
- Lease
- Profile
- Profile
Change - Individual change applied to profile.
ProfileChangeEvent
consists of one or more such changes - Profile
Change Event crate::Profile
s are modified using change events mechanism. One event may have 1 or moreProfileChange
s Proof is used to check whether this event comes from a party authorized to perform such updated Individual changes may include additional proofs, if needed- Profile
Event Attribute Key - Pre-defined keys in
ProfileEventAttributes
map - Profile
Serialization Util - Profile
State - Profile implementation
- Rotate
KeyChange - RotateKeyChange
- Rotate
KeyChange Data - RotateKeyChangeData
- Secure
Channel Trust Info - Signature
- Signature, its type and data
- Trust
Everyone Policy - Trust
Identifier Policy - Trust
Policy Impl - Trust
Policy Request - Trust
Policy Response - Trust
Policy Worker - Trust
Public KeyPolicy
Enums§
- Identity
Request - Identity
Response - Maybe
Contact - Meta
KeyAttributes - Meta-Attributes about a key
- Profile
Change Type - Possible types of
crate::Profile
changes - Signature
Type - Types of proof signatures.
Constants§
- ENTITY_
SECURE_ CHANNEL_ IDENTIFIER - Entity SecureChannel LocalInfo unique Identifier
Traits§
- Conjunction
Trust Policy - Disjunction
Trust Policy - Identity
- Identity
- Profile
Vault - Traits required for a Vault implementation suitable for use in a Profile
- Trust
Policy
Type Aliases§
- Authentication
Proof - ByteVec
- Changes
- Contacts
- Contacts Database
- Event
Attribute - Event
Attributes - Id
- Profile
Event Attributes - Profile event attributes
- Profile
Identifier - TTL