hasCaveat will take a macaroon and a caveat and evaluate whether or not that caveat exists on the macaroon
raw macaroon to determine caveats from
Caveat to test against macaroon
A function that verifies the caveats on a macaroon. The functionality mimics that of loop's lsat utilities.
a list of caveats to verify
a single satisfier or list of satisfiers used to verify caveats
verifyFirstPartyMacaroon will check if a macaroon is valid or not based on a set of satisfiers to pass as general caveat verifiers. This will also run against caveat.verityCaveats to ensure that satisfyPrevious will validate
The secret key used to sign the macaroon
Generated using TypeDoc
hasCaveat will take a macaroon and a caveat and evaluate whether or not that caveat exists on the macaroon