A caveat is a class with a condition, value and a comparator. They
are used in macaroons to evaluate the validity of a macaroon. The Caveat class
provides a method for turning a string into a caveat object (decode) and a way to
turn a caveat into a string that can be encoded into a macaroon.
{Object} Caveat
A caveat is a class with a condition, value and a comparator. They are used in macaroons to evaluate the validity of a macaroon. The Caveat class provides a method for turning a string into a caveat object (decode) and a way to turn a caveat into a string that can be encoded into a macaroon.