Hierarchy

Properties

Methods

Properties

id: Principal<`did:${string}:${string}`>
my?: ((issuer: `did:${string}:${string}`) => Capability<Ability, `${string}:${string}`, unknown>[])

Type declaration

    • (issuer: `did:${string}:${string}`): Capability<Ability, `${string}:${string}`, unknown>[]
    • Parameters

      • issuer: `did:${string}:${string}`

      Returns Capability<Ability, `${string}:${string}`, unknown>[]

Methods

  • Informs validator whether given capability can be issued by a given DID or whether it needs to be delegated to the issuer.

    Parameters

    • capability: {
          can: Ability;
          nb?: {};
          with: URI<`${string}:`>;
      }
      • can: Ability
      • Optional nb?: {}
        • with: URI<`${string}:`>
      • issuer: `did:${string}:${string}`

      Returns boolean

    Generated using TypeDoc