ImFact DID Documents are designed to follow the W3C DID Core model as closely as possible, while extending it for specific authorization and operation control.
A DID Document represents the identity, authentication methods, and service endpoints associated with a DID.
_hint: ImFact-internal type identifier used by the blockchain to decode and validate the object.
This must be:
@context : Standard W3C DID contexts plus ImFact-specific context. Defines how fields in the document should be interpreted.
id: The DID controlled by this document.
authentication: An array of authentication methods allowed to act on behalf of the DID. Each entry defines who can sign and what operations they are allowed to perform.
ImFact supports two authentication types:
Type
Class
Purpose
Asymmetric Key
AsymKeyAuth
Direct key-based control of the DID
Linked Auth
LinkedAuth
Delegated control via another verification method
For a detailed look at the differences between each type, see the following pages.
verificationMethod: Additional verification methods that may be referenced by authentication entries.
service: Optional array of service object related to the DID (dApps, APIs, etc.). The service object must contain an id in DID URL format (did + "#" + string), a type, and a service_end_point URL.