iya-sts
    Preparing search index...

    Variable encodeBinaryV2

    encodeBinaryV2: (mac: any) => Buffer = ...

    Type Declaration

      • (mac: any): Buffer
      • Encodes a macaroon in libmacaroons' v2 binary serialisation.

        Parameters

        • mac: any

          the macaroon: { location, identifier, caveats, signature }, as common/crypto.js hands one back (a library macaroon's getters read the same)

        Returns Buffer

        the serialised bytes