toip.tools

function · Browser and Node

present

Signs a presentation by holder, the leaf's subject. audience and action bind it to one counterparty and one action.

@toip-tools/mandatesView source
TypeScriptImport
import { present } from "@toip-tools/mandates";

Declaration

TypeScriptSignature
present(holder: Identity, clock: Clock, o: Omit<Presentation, "type" | "issuer" | "at" | "proof">): Presentation;

Parameters

holderrequired
Identity
clockrequired
Clock
orequired
Omit<Presentation, "at" | "issuer" | "proof" | "type">

Returns