Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
lib
/
python3
/
dist-packages
/
pymacaroons
/
caveat_delegates
/
Filename :
base_third_party.py
back
Copy
from abc import ABCMeta, abstractmethod class BaseThirdPartyCaveatDelegate(object): __metaclass__ = ABCMeta def __init__(self, *args, **kwargs): super(BaseThirdPartyCaveatDelegate, self).__init__(*args, **kwargs) @abstractmethod def add_third_party_caveat(self, macaroon, location, key, key_id, **kwargs): pass class BaseThirdPartyCaveatVerifierDelegate(object): __metaclass__ = ABCMeta def __init__(self, *args, **kwargs): super(BaseThirdPartyCaveatVerifierDelegate, self).__init__( *args, **kwargs ) @abstractmethod def verify_third_party_caveat(self, verifier, caveat, root, macaroon, discharge_macaroons, signature): pass @abstractmethod def update_signature(self, signature, caveat): pass