
    0j                     T    	 d dl mZ n# e$ r	 d dlmZ Y nw xY w G d de          ZdS )    )urlparsec                   8    e Zd ZdZdZdZdZdZeeeeefZddZ	dS )	PopAuthSchemeGETPOSTPUTDELETEPATCHNc                     |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 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       X/home/rurouni/.hermes/hermes-agent/venv/lib/python3.11/site-packages/msal/auth_scheme.py__init__zPopAuthScheme.__init__   su      	W 	W 	WUVVVd000 j k k k'SMM	    )NNN)
__name__
__module____qualname__HTTP_GET	HTTP_POSTHTTP_PUTHTTP_DELETE
HTTP_PATCHr   r    r   r   r   r      sQ        HIHKJy(KLM     r   r   N)urllib.parser   ImportErrorobjectr   r    r   r   <module>r$      s   "%%%%%%% " " "!!!!!!!!"    F     s   	 