Represents an owned space, meaning a space for which we have a private key and consequently have full authority over.

Hierarchy

  • OwnedSpace

Constructors

Properties

model: Space.Model

Accessors

Methods

  • Creates (UCAN) delegation that gives specified agent an access to specified ability (passed as access.can field) on the this space. Optionally, you can specify access.expiration field to set the

    Parameters

    • agent: Principal<`did:${string}:${string}`>
    • Optional input: {
          access: undefined | Access;
          expiration: undefined | number;
      }
      • access: undefined | Access
      • expiration: undefined | number

    Returns Promise<Delegation<Capabilities>>

Generated using TypeDoc