
    9i                     J    	 d dl mZ  G d de      Zy# e$ r	 d dlmZ Y w xY w)    )urlparsec                   6    e Zd ZdZdZdZdZdZeeeeefZddZ	y)	PopAuthSchemeGETPOSTPUTDELETEPATCHNc                     |r|r|st        d      || j                  vrt        d      || _        t        |      | _        || _        y)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 parameterszhttp_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       C/var/www/html/venv/lib/python3.12/site-packages/msal/auth_scheme.py__init__zPopAuthScheme.__init__   sT     UVVd000 j k k'SM	    )NNN)
__name__
__module____qualname__HTTP_GET	HTTP_POSTHTTP_PUTHTTP_DELETE
HTTP_PATCHr   r    r   r   r   r      s0    HIHKJy(KLMr   r   N)urllib.parser   ImportErrorobjectr   r    r   r   <module>r$      s-   "%
F 	  "!"s    ""