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

    Type Declaration

      • (model: any, keys: any): Promise<any>
      • Mints a biscuit carrying an access model, its authority block signed with the AS's Ed25519 root key.

        Parameters

        • model: any

          the token model gnap_access validates

        • keys: any

          { privateKey }, an Ed25519 node KeyObject

        Returns Promise<any>

        { value, format, jti }, or a refusal