Persisting Identity with DIDDocuments

The representation of a Users identity as it is stored on the Sonr blockchain.

The DID Document Model

The DID document model contains all the essential information about an identity, such as its public keys, authentication methods, and service endpoints. It provides a means to prove control over the decentralized identifier (DID) associated with the document.

Properties

  • Name
    id
    Type
    string
    Description

    The identifier for the DID subject.

  • Name
    controller
    Type
    repeated string
    Description

    The entity/entities controlling the DID subject (optional).

  • Name
    authentication
    Type
    repeated string
    Description

    The set of authentication methods associated with the DID subject (optional).

  • Name
    assertion_method
    Type
    repeated string
    Description

    The set of assertion methods associated with the DID subject (optional).

  • Name
    capability_invocation
    Type
    repeated string
    Description

    The set of capability invocation methods associated with the DID subject (optional).

  • Name
    capability_delegation
    Type
    repeated string
    Description

    The set of capability delegation methods associated with the DID subject (optional).

  • Name
    key_agreement
    Type
    repeated string
    Description

    The set of key agreement methods associated with the DID subject (optional).

  • Name
    also_known_as
    Type
    repeated string
    Description

    The set of identifiers for other personas or identities related to the DID subject (optional).

Was this article helpful?