iya-sts
    Preparing search index...

    Variable publishWallet

    publishWallet: (
        username: string,
        base: any,
        outcome: any,
        transaction: string,
        location: any,
    ) => any = ...

    Type Declaration

      • (
            username: string,
            base: any,
            outcome: any,
            transaction: string,
            location: any,
        ): any
      • Publishes a DID for the key the person's wallet just proved — wallet custody's creation, from the self-issued round trip vc_signin.ts finishes. Version 1 names that key, and the did:web is enrolled as a proved (wallet) self-issued subject with the key pinned.

        Parameters

        • username: string

          the person the round trip was started for

        • base: any

          { base, pinned }, the realm's base URL

        • outcome: any

          the verified answer: subject, jwk, alg

        • transaction: string

          the transaction's tag, for the record

        • location: any

          where the key came from, as siop.enrol() keeps it

        Returns any

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