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

    Type Declaration

      • (model: any, keys: any): Promise<any>
      • Mints a macaroon carrying a token model.

        Parameters

        • model: any

          the token model gnap_access validates

        • keys: any

          { rootKey, location }: a root key of at least 32 bytes

        Returns Promise<any>

        { value, format, jti }, or a refusal