� u��g���T� ddlmZn#e$r ddlmZYnwxYwGd�de��ZdS)�)�urlparsec�8�eZdZdZdZdZdZdZeeeeefZdd�Z dS) � PopAuthScheme�GET�POST�PUT�DELETE�PATCHNc��|r|r|std���||jvrtd���||_t|��|_||_dS)aKCreate an auth scheme which is needed to obtain a Proof-of-Possession token. :param str http_method: Its value is an uppercase http verb, such as "GET" and "POST". :param str url: The url to be signed. :param str nonce: The nonce came from resource's challenge. z6All http_method, url and nonce are required parametersz�http_method must be uppercase, according to https://datatracker.ietf.org/doc/html/draft-ietf-oauth-signed-http-request-03#section-3N)� ValueError� _HTTP_METHODS� _http_methodr�_url�_nonce)�self� http_method�url�nonces �`/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/msal/auth_scheme.py�__init__zPopAuthScheme.__init__su��� W�� W�� W��U�V�V� V� �d�0� 0� 0��j�k�k� k�'����S�M�M�� ��� � � �)NNN) �__name__� __module__� __qualname__�HTTP_GET� HTTP_POST�HTTP_PUT� HTTP_DELETE� HTTP_PATCHr r�rrrrsQ�������H��I��H��K��J��y�(�K��L�M������rrN)� urllib.parser� ImportError�objectrr rr�<module>r$s���"�%�%�%�%�%�%�%���"�"�"�!�!�!�!�!�!�!�!�"���������F�����s � � �
Memory