U
    BQ¼YŠ  ã                   @   s4   d dl mZmZ G dd„ deƒZG dd„ deƒZdS )é    )ÚABCMetaÚabstractmethodc                       s,   e Zd ZeZ‡ fdd„Zedd„ ƒZ‡  ZS )ÚBaseThirdPartyCaveatDelegatec                    s   t t| ƒj||Ž d S ©N)Úsuperr   Ú__init__©ÚselfÚargsÚkwargs©Ú	__class__© úO/usr/lib/python3/dist-packages/pymacaroons/caveat_delegates/base_third_party.pyr      s    z%BaseThirdPartyCaveatDelegate.__init__c                 K   s   d S r   r   )r	   ÚmacaroonÚlocationÚkeyZkey_idr   r   r   r   Úadd_third_party_caveat
   s    z3BaseThirdPartyCaveatDelegate.add_third_party_caveat)	Ú__name__Ú
__module__Ú__qualname__r   Ú__metaclass__r   r   r   Ú__classcell__r   r   r   r   r      s   r   c                       s8   e Zd ZeZ‡ fdd„Zedd„ ƒZedd„ ƒZ‡  Z	S )Ú$BaseThirdPartyCaveatVerifierDelegatec                    s   t t| ƒj||Ž d S r   )r   r   r   r   r   r   r   r      s    
 ÿz-BaseThirdPartyCaveatVerifierDelegate.__init__c                 C   s   d S r   r   )r	   ZverifierÚcaveatÚrootr   Zdischarge_macaroonsÚ	signaturer   r   r   Úverify_third_party_caveat   s    z>BaseThirdPartyCaveatVerifierDelegate.verify_third_party_caveatc                 C   s   d S r   r   )r	   r   r   r   r   r   Úupdate_signature&   s    z5BaseThirdPartyCaveatVerifierDelegate.update_signature)
r   r   r   r   r   r   r   r   r   r   r   r   r   r   r      s   
	r   N)Úabcr   r   Úobjectr   r   r   r   r   r   Ú<module>   s   