Markdown Format | JSON API | MCP Server Tool
Help on package pymacaroons: NAME pymacaroons PACKAGE CONTENTS binders (package) caveat caveat_delegates (package) exceptions field_encryptors (package) macaroon serializers (package) utils verifier CLASSES builtins.object pymacaroons.caveat.Caveat pymacaroons.macaroon.Macaroon pymacaroons.verifier.Verifier class Caveat(builtins.object) | Caveat(caveat_id=None, verification_key_id=None, location=None, version=None) | | Methods defined here: | | __init__(self, caveat_id=None, verification_key_id=None, location=None, version=None) | Initialize self. See help(type(self)) for accurate signature. | | first_party(self) | | third_party(self) | | to_dict(self) | | ---------------------------------------------------------------------- | Readonly properties defined here: | | caveat_id_bytes | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) | | caveat_id | | location | | verification_key_id class Macaroon(builtins.object) | Macaroon(location=None, identifier=None, key=None, caveats=None, signature=None, version=1) | | Methods defined here: | | __init__(self, location=None, identifier=None, key=None, caveats=None, signature=None, version=1) | Initialize self. See help(type(self)) for accurate signature. | | add_first_party_caveat(self, predicate, **kwargs) | | add_third_party_caveat(self, location, key, key_id, **kwargs) | | copy(self) | | first_party_caveats(self) | | inspect(self) | | prepare_for_request(self, discharge_macaroon) | Return a new discharge macaroon bound to the receiving macaroon's | current signature so that it can be used in a request. | | This must be done before a discharge macaroon is sent to a server. | | :param discharge_macaroon: | :return: bound discharge macaroon | | serialize(self, serializer=None) | | third_party_caveats(self) | | ---------------------------------------------------------------------- | Class methods defined here: | | deserialize(serialized, serializer=None) from builtins.type | | ---------------------------------------------------------------------- | Readonly properties defined here: | | identifier_bytes | | signature_bytes | | version | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) | | identifier | | location | | signature class Verifier(builtins.object) | Methods defined here: | | __init__(self) | Initialize self. See help(type(self)) for accurate signature. | | satisfy_exact(self, predicate) | | satisfy_general(self, func) | | verify(self, macaroon, key, discharge_macaroons=None) | | verify_discharge(self, root, discharge, key, discharge_macaroons=None) | | verify_exact(self, predicate) | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) DATA MACAROON_V1 = 1 MACAROON_V2 = 2 __all__ = ['Macaroon', 'Caveat', 'Verifier', 'MACAROON_V1', 'MACAROON_... __short_version__ = '0.13.0' __version_info__ = ('0', '13', '0') VERSION 0.13.0 AUTHOR Evan Cordell FILE /usr/lib/python3/dist-packages/pymacaroons/__init__.py
Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:16 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)