iya-sts
    Preparing search index...

    Variable finishWalletAct

    finishWalletAct: (
        username: string,
        act: string,
        outcome: any,
        context: any,
    ) => any = ...

    Type Declaration

      • (username: string, act: string, outcome: any, context: any): any
      • Finishes a wallet act whose self-issued round trip verified: the creation (publish), the change's authorization by a key of the current version (authorize-add.<rid> / authorize-rotate.<rid>), or the new key (key.<rid>), which appends the version. Every outcome is audited here.

        Parameters

        • username: string

          the person the round trip was started for

        • act: string

          the marker the round trip carried

        • outcome: any

          the verified answer: subject, jwk, alg

        • context: any

          { base, transaction, location }

        Returns any

        { ok, step, record?, version? }, or { ok: false, code, error }