iya-sts
    Preparing search index...
    mint: (model: any, keys: any) => Promise<any> = ...

    Type Declaration

      • (model: any, keys: any): Promise<any>
      • Mints a zcap capability carrying a token model, signed by the AS.

        Parameters

        • model: any

          the token model gnap_access validates

        • keys: any

          { cryptosuite, privateKey, controller, keyId }, plus publicJwk for a JCS suite

        Returns Promise<any>

        { value, format, jti }, or a refusal