iya-sts
    Preparing search index...

    Variable publishGenerated

    publishGenerated: (username: string, req: any) => any = ...

    Type Declaration

      • (username: string, req: any): any
      • Publishes a DID whose key the REALM generates — realm custody (kept sealed) or download custody (answered once as privateJwk, never kept) — for the person, by their own act on the portal.

        Parameters

        • username: string

          the signed-in person

        • req: any

          the request, whose realm's base the DID is minted on

        Returns any

        { ok, record, privateJwk? }, or { ok: false, code, error }