Options
All
  • Public
  • Public/Protected
  • All
Menu

An identified security principal (user or machine) that is responsible for data changes in the clone.

🧪 Application security extensions using AppPrincipal are currently experimental. See the discussion of general security principles for using m-ld, and the recommendations for this engine.

experimental

Hierarchy

  • AppPrincipal

Index

Properties

Methods

Properties

@id

@id: string

The principal's identifier, resolved according to the configured context.

Methods

Optional sign

  • sign(data: Buffer): Buffer | Promise<Buffer>
  • Sign the given data with the principal's key. This function may be required by the implementation of the domain's access control.

    Parameters

    • data: Buffer

      the data to sign

    Returns Buffer | Promise<Buffer>

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Protected method

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.10.1-edge.4 Source code licensed MIT. Privacy policy