o
    +Âifá  ã                   @   sD   zd dl mZ W n ey   d dlmZ Y nw G dd„ deƒZdS )é    )Úurlparsec                   @   s8   e Zd ZdZdZdZdZdZeeeeefZd	dd„Z	dS )
ÚPopAuthSchemeÚGETÚPOSTÚPUTÚDELETEÚPATCHNc                 C   s@   |r|r|s
t dƒ‚|| jvrt dƒ‚|| _t|ƒ| _|| _dS )aK  Create 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Únonce© r   úI/var/www/html/corbot_env/lib/python3.10/site-packages/msal/auth_scheme.pyÚ__init__   s   



zPopAuthScheme.__init__)NNN)
Ú__name__Ú
__module__Ú__qualname__ÚHTTP_GETÚ	HTTP_POSTÚHTTP_PUTÚHTTP_DELETEÚ
HTTP_PATCHr
   r   r   r   r   r   r      s    r   N)Úurllib.parser   ÚImportErrorÚobjectr   r   r   r   r   Ú<module>   s    ÿ