ó
    ×›‘h_  ã                   óV   • S r SSKJr  SSKJr  SSKJr  \" \5       " S S5      5       rg)zg
Implementation of RFC2617: HTTP Digest Authentication

@see: U{http://www.faqs.org/rfcs/rfc2617.html}
é    )Úimplementer)Úcredentials)ÚICredentialFactoryc                   ó.   • \ rS rSrSrSrS rS rS rSr	g)	ÚDigestCredentialFactoryé   zd
Wrapper for L{digest.DigestCredentialFactory} that implements the
L{ICredentialFactory} interface.
s   digestc                 ó:   • [         R                  " X5      U l        g)z>
Create the digest credential factory that this object wraps.
N)r   r   Údigest)ÚselfÚ	algorithmÚauthenticationRealms      Ú\C:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/web/_auth/digest.pyÚ__init__Ú DigestCredentialFactory.__init__   s   € ô "×9Ò9Øó
ˆ�ó    c                 óh   • U R                   R                  UR                  5       R                  5      $ )a  
Generate the challenge for use in the WWW-Authenticate header

@param request: The L{IRequest} to with access was denied and for the
    response to which this challenge is being generated.

@return: The L{dict} that can be used to generate a WWW-Authenticate
    header.
)r
   ÚgetChallengeÚgetClientAddressÚhost)r   Úrequests     r   r   Ú$DigestCredentialFactory.getChallenge#   s(   € ð �{‰{×'Ñ'¨×(@Ñ(@Ó(B×(GÑ(GÓHÐHr   c                 ó~   • U R                   R                  XR                  UR                  5       R                  5      $ )zŠ
Create a L{twisted.cred.credentials.DigestedCredentials} object
from the given response and request.

@see: L{ICredentialFactory.decode}
)r
   ÚdecodeÚmethodr   r   )r   Úresponser   s      r   r   ÚDigestCredentialFactory.decode/   s3   € ð �{‰{×!Ñ!Ø—n‘n g×&>Ñ&>Ó&@×&EÑ&Eó
ð 	
r   )r
   N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úschemer   r   r   Ú__static_attributes__© r   r   r   r      s   † ñð
 €Fò
ò
Iõ	
r   r   N)r!   Úzope.interfacer   Útwisted.credr   Útwisted.web.iwebr   r   r$   r   r   Ú<module>r(      s4   ðñ
õ 'å $Ý /ñ ÐÓ ÷%
ð %
ó !ñ%
r   