iya-sts
    Preparing search index...

    Variable verify

    verify: (value: unknown, keys: any, context?: any) => Promise<any> = ...

    Type Declaration

      • (value: unknown, keys: any, context?: any): Promise<any>
      • Verifies a zcap capability against one generation of the realm's key and checks it against the presentation context; the caller tries each live generation in turn.

        Parameters

        • value: unknown

          the presented token value

        • keys: any

          { cryptosuite, controller, keyId } plus publicKey or publicJwk

        • Optionalcontext: any

          the presentation to check the token against

        Returns Promise<any>

        { ok: true, model }, or a refusal