+
    XjR                    8   ^ RI Ht ^ RIt^ RIt^ RIHtHt ^ RIHtH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ RIHtHt ^ R	IHt ^ R
IHt ]	! R4      tR R ltRR R llt ! R R]4      t ! R R4      t ! R R4      t ! R R4      t ! R R]4      t ! R R]4      t R# )    )annotationsN)CallableSequence)Any	ParamSpec)	urlencode)is_async_callable)HTTPException)HTTPConnectionRequest)RedirectResponse)	WebSocket_Pc               $    V ^8  d   QhRRRRRR/# )   connr   scopeszSequence[str]returnbool )formats   "t   /Users/wind/Downloads/Coruna-main学习资料A/backend/venv/lib/python3.14/site-packages/starlette/authentication.py__annotate__r      s!      ^ ] t     c                R    V F   pW P                   P                  9  g   K   R # 	  R# )FT)authr   )r   r   scopes   && r   has_required_scoper      s$    		(((  r   c               (    V ^8  d   QhRRRRRRRR/# )	r   r   zstr | Sequence[str]status_codeintredirectz
str | Noner   z0Callable[[Callable[_P, Any]], Callable[_P, Any]]r   )r   s   "r   r   r      s6     I III I 6	Ir   c                j   aaa \        V \        4      '       d   V .M
\        V 4      oR  VVV3R llpV# )c                    V ^8  d   QhRRRR/# )r   funczCallable[_P, Any]r   r   )r   s   "r   r   requires.<locals>.__annotate__    s      @  @ @ 	@ r   c                (  <a a \         P                  ! S 4      p\        VP                  P	                  4       4       F6  w  opVP
                  R 8X  g   VP
                  R8X  g   K*  VP
                  p M	  \        RS  R24      hVR8X  d'   \        P                  ! S 4      R V VV	3R ll4       pV# \        S 4      '       d)   \        P                  ! S 4      R V VVV	V
3R ll4       pV# \        P                  ! S 4      R V VVV	V
3R	 ll4       pV# )
request	websocketz2No "request" or "websocket" argument on function ""c               $    V ^8  d   QhRRRRRR/# )r   args_P.argskwargs	_P.kwargsr   Noner   )r   s   "r   r   1requires.<locals>.decorator.<locals>.__annotate__.   s"     
0 
0w 
0) 
0PT 
0r   c                 N  <"   TP                  R S\        V 4      8  d
   V S,          MR4      p\        V\        4      '       g   Q R\	        V4      P
                   R24       h\        VS4      '       g   VP                  4       G Rj  xL
  R# S! V / VB G Rj  xL
  R#  L L5i)r)   NzKParameter with name 'websocket' is required to be of type 'WebSocket' not '')getlen
isinstancer   type__name__r   close)r,   r.   r)   r%   idxscopes_lists   *, r   websocket_wrapper6requires.<locals>.decorator.<locals>.websocket_wrapper-   s     "JJ{s4yDIVZ[	!)Y77 !)_556a97
 *)[AA#//+++//// ,/s$   BB%B!	B%B#B%#B%c               $    V ^8  d   QhRRRRRR/# r   r,   r-   r.   r/   r   r   r   )r   s   "r   r   r1   ?   s!     3 37 3i 3C 3r   c                   <"   TP                  R S\        V 4      8  d
   V S,          MR4      p\        V\        4      '       g   Q R\	        V4      P
                   R24       h\        VS4      '       gT   SeD   \        R\        VP                  4      /4      pVP                  S4       RV 2p\        VRR7      # \        S	R7      hS! V / VB G Rj  xL
 #  L5i	r(   NzGParameter with name 'request' is required to be of type 'Request' not 'r3   next?i/  )urlr    )r    r4   r5   r6   r   r7   r8   r   r   strrD   url_forr   r
   
r,   r.   r(   orig_request_qparamnext_urlr%   r:   r"   r;   r    s
   *,   r   async_wrapper2requires.<locals>.decorator.<locals>.async_wrapper>   s      **YS3t9_S	RVW!'733 ]^bcj^k^t^t]uuvw3 *';??+.7W[[AQ8R.S+&-ooh&?%@BUAV#W/H#NN'K@@!4262222s   CCCCc               $    V ^8  d   QhRRRRRR/# r?   r   )r   s   "r   r   r1   R   s!     - -G -y -S -r   c                   < TP                  R S\        V 4      8  d
   V S,          MR4      p\        V\        4      '       g   Q R\	        V4      P
                   R24       h\        VS4      '       gT   SeD   \        R\        VP                  4      /4      pVP                  S4       RV 2p\        VRR7      # \        S	R7      hS! V / VB # rA   rE   rH   s
   *,   r   sync_wrapper1requires.<locals>.decorator.<locals>.sync_wrapperQ   s     **YS3t9_S	RVW!'733 ]^bcj^k^t^t]uuvw3 *';??+.7W[[AQ8R.S+&-ooh&?%@BUAV#W/H#NN'K@@T,V,,r   )
inspect	signature	enumerate
parametersvaluesname	Exception	functoolswrapsr	   )r%   sig	parametertype_r<   rK   rO   r:   r"   r;   r    s   f      @r   	decoratorrequires.<locals>.decorator    s     %'(=(=(?@NC~~*inn.K! A
 PQUPVVWXYYK__T"
0 
0 #
0 %$t$$__T"3 3 #3 !  __T"- - #-  r   )r6   rF   list)r   r    r"   r]   r;   s   &ff @r   requiresr`      s3    
 )556(4<K@  @ D r   c                      ] tR t^etRtR# )AuthenticationErrorr   N)r8   
__module____qualname____firstlineno____static_attributes__r   r   r   rb   rb   e   s    r   rb   c                  "    ] tR t^itR R ltRtR# )AuthenticationBackendc                    V ^8  d   QhRRRR/# )r   r   r   r   z'tuple[AuthCredentials, BaseUser] | Noner   )r   s   "r   r   "AuthenticationBackend.__annotate__j   s     $ $~ $:a $r   c                	   "   \        4       h5iNNotImplementedError)selfr   s   &&r   authenticate"AuthenticationBackend.authenticatej   s     !##s   r   N)r8   rc   rd   re   rp   rf   r   r   r   rh   rh   i   s    $ $r   rh   c                  &    ] tR t^ntRR R lltRtR# )AuthCredentialsNc                   V ^8  d   QhRR/# )r   r   zSequence[str] | Noner   )r   s   "r   r   AuthCredentials.__annotate__o   s     = =3 =r   c                	@    Vf
   . V n        R # \        V4      V n        R # rl   )r_   r   )ro   r   s   &&r   __init__AuthCredentials.__init__o   s    "NbVr   )r   rl   )r8   rc   rd   re   rw   rf   r   r   r   rs   rs   n   s    = =r   rs   c                  X    ] tR t^st]R R l4       t]R R l4       t]R R l4       tRtR# )	BaseUserc                   V ^8  d   QhRR/# r   r   r   r   )r   s   "r   r   BaseUser.__annotate__u   s     $ $$ $r   c                	    \        4       hrl   rm   ro   s   &r   is_authenticatedBaseUser.is_authenticatedt       !##r   c                   V ^8  d   QhRR/# r   r   rF   r   )r   s   "r   r   r}   y   s     $ $c $r   c                	    \        4       hrl   rm   r   s   &r   display_nameBaseUser.display_namex   r   r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r}   }   s     $ $# $r   c                	    \        4       hrl   rm   r   s   &r   identityBaseUser.identity|   r   r   r   N)	r8   rc   rd   re   propertyr   r   r   rf   r   r   r   rz   rz   s   s<    $ $ $ $ $ $r   rz   c                  N    ] tR t^tR R lt]R R l4       t]R R l4       tRtR# )	
SimpleUserc                    V ^8  d   QhRRRR/# )r   usernamerF   r   r0   r   )r   s   "r   r   SimpleUser.__annotate__   s     ! ! ! !r   c                	    Wn         R # rl   r   )ro   r   s   &&r   rw   SimpleUser.__init__   s     r   c                   V ^8  d   QhRR/# r|   r   )r   s   "r   r   r      s      $ r   c                	    R # )Tr   r   s   &r   r   SimpleUser.is_authenticated   s    r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s      c r   c                	    V P                   # rl   r   r   s   &r   r   SimpleUser.display_name   s    }}r   r   N)	r8   rc   rd   re   rw   r   r   r   rf   r   r   r   r   r      s/    !    r   r   c                  B    ] tR t^t]R R l4       t]R R l4       tRtR# )UnauthenticatedUserc                   V ^8  d   QhRR/# r|   r   )r   s   "r   r    UnauthenticatedUser.__annotate__   s      $ r   c                	    R # )Fr   r   s   &r   r   $UnauthenticatedUser.is_authenticated   s    r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s      c r   c                	    R # ) r   r   s   &r   r    UnauthenticatedUser.display_name   s    r   r   N)r8   rc   rd   re   r   r   r   rf   r   r   r   r   r      s(       r   r   )i  N)!
__future__r   rX   rQ   collections.abcr   r   typingr   r   urllib.parser   starlette._utilsr	   starlette.exceptionsr
   starlette.requestsr   r   starlette.responsesr   starlette.websocketsr   r   r   r`   rW   rb   rh   rs   rz   r   r   r   r   r   <module>r      s}    "   . ! " . . 6 0 *t_IX	) 	$ $
= =
$ $
 
( r   