403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/macaroonbakery/checkers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/macaroonbakery/checkers/__pycache__/_auth_context.cpython-310.pyc
o

B�.^��@sTzddlmZWneyddlmZYnwGdd�de�ZGdd�de�ZdS)�)�Mappingc@sJeZdZdZddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)�AuthContexta& Holds a set of keys and values relevant to authorization.

    It is passed as an argument to authorization checkers, so that the checkers
    can access information about the context of the authorization request.
    It is immutable - values can only be added by copying the whole thing.
    NcCs |duri}t|�|_d|_dS�N)�dict�_dict�_hash)�self�somedict�r
�G/usr/lib/python3/dist-packages/macaroonbakery/checkers/_auth_context.py�__init__s

zAuthContext.__init__cCst|j�}|||<t|�S)z] Return a copy of the AuthContext object with the given key and
        value added.
        )rrr)r�key�val�new_dictr
r
r�
with_values
zAuthContext.with_valuecCs
|j|Sr�r)rr
r
r
r�__getitem__�
zAuthContext.__getitem__cC�
t|j�Sr)�lenr�rr
r
r�__len__!rzAuthContext.__len__cCrr)�iterrrr
r
r�__iter__$rzAuthContext.__iter__cCs$|jdurtt|j����|_|jSr)r�hash�	frozensetr�itemsrr
r
r�__hash__'s
zAuthContext.__hash__cCs|j|jkSrr)r�otherr
r
r�__eq__,szAuthContext.__eq__r)�__name__�
__module__�__qualname__�__doc__rrrrrrrr
r
r
rr	s
rc@s(eZdZdZdd�Zdd�Zdd�ZdS)	�
ContextKeyzAProvides a unique key suitable for use as a key into AuthContext.cCs
||_dS)zcCreates a context key using the given name. The name is
     only for informational purposes.
     N)�_name)r�namer
r
rr3s
zContextKey.__init__cC�d|jt|�fS)Nz%s#%#x�r%�idrr
r
r�__str__9�zContextKey.__str__cCr')Nzcontext_key(%r, %#x)r(rr
r
r�__repr__<r+zContextKey.__repr__N)r r!r"r#rr*r,r
r
r
rr$0s
r$N)�collections.abcr�ImportError�collectionsr�objectr$r
r
r
r�<module>s�'

Youez - 2016 - github.com/yon3zu
LinuXploit