iya-sts
    Preparing search index...
    attenuate: (value: unknown, caveats: any[]) => Promise<any> = ...

    Type Declaration

      • (value: unknown, caveats: any[]): Promise<any>
      • Appends caveats to a macaroon, deriving a narrower token without calling the AS (RFC 9767 section 2.2). Needs no key.

        Parameters

        • value: unknown

          the macaroon to attenuate

        • caveats: any[]

          each { exp }, { nbf }, { aud }, { access }, or a caveat string in one of those grammars

        Returns Promise<any>

        { ok: true, value, format }, or a refusal