iya-sts
    Preparing search index...

    Variable macaroonVerify

    macaroonVerify: (bytes: any, rootKey: any) => boolean = macaroonVerify

    Type Declaration

      • (bytes: any, rootKey: any): boolean
      • Verifies a macaroon's HMAC chain under its root key. Every first-party caveat is accepted while the chain is walked: what a caveat MEANS is the caller's grammar, read once the chain is known to be good.

        Parameters

        • bytes: any

          the serialised macaroon

        • rootKey: any

          the root key

        Returns boolean

        true when the chain verifies