+
    üÐj^  ã                   ód   € R t ^ RIt^ RIHt ^ RIHtHt ^ RIHt ]! ]4       ! R R4      4       t	R# )z¡
HTTP BASIC authentication.

@see: U{http://tools.ietf.org/html/rfc1945}
@see: U{http://tools.ietf.org/html/rfc2616}
@see: U{http://tools.ietf.org/html/rfc2617}
N)Úimplementer)ÚcredentialsÚerror)ÚICredentialFactoryc                   ó:   a € ] tR t^t o RtRtR tR tR tRt	V t
R# )ÚBasicCredentialFactoryz¸
Credential Factory for HTTP Basic Authentication

@type authenticationRealm: L{bytes}
@ivar authenticationRealm: The HTTP authentication realm which will be issued in
    challenges.
s   basicc                ó   € Wn         R # )N©ÚauthenticationRealm)Úselfr
   s   &&Ú9/usr/lib/python3/dist-packages/twisted/web/_auth/basic.pyÚ__init__ÚBasicCredentialFactory.__init__"   s   € Ø#6Ö ó    c                ó   € RV P                   /# )za
Return a challenge including the HTTP authentication realm with which
this factory was created.
Úrealmr	   )r   Úrequests   &&r   ÚgetChallengeÚ#BasicCredentialFactory.getChallenge%   s   € ð
 ˜×1Ñ1Ð2Ð2r   c                ó4  €  \         P                  ! VR,           4      pTP                  R^4      p\        T4      ^8X  d   \        P                  ! T!  # \        P                  ! R4      h  \         P                   d    \        P                  ! R4      hi ; i)zr
Parse the base64-encoded, colon-separated username and password into a
L{credentials.UsernamePassword} instance.
s   ===zInvalid credentialsó   :)	ÚbinasciiÚ
a2b_base64ÚErrorr   ÚLoginFailedÚsplitÚlenr   ÚUsernamePassword)r   Úresponser   Úcredss   &&& r   ÚdecodeÚBasicCredentialFactory.decode,   sƒ   € ð
	;Ü×'Ò'¨°6Õ(9Ó:ˆEð —‘˜D !Ó$ˆÜˆu‹:˜Œ?Ü×/Ò/°Ñ7Ð7ä×#Ò#Ð$9Ó:Ð:øô �~‰~ô 	;Ü×#Ò#Ð$9Ó:Ð:ð	;ús   ‚A+ Á+,Br	   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úschemer   r   r    Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s%   ø‡ € ñð €Fò7ò3÷;ð ;r   r   )
r&   r   Úzope.interfacer   Útwisted.credr   r   Útwisted.web.iwebr   r   © r   r   Ú<module>r/      s7   ðñ
ó å &ç +Ý /ñ ÐÓ ÷#;ð #;ó !ò#;r   