+
    Di                    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   "v/Users/tonyclaw/.openclaw/workspace/services/omi-webhook/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     B BBB B 6	B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     9  9 9 	9 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                   <"   TP                  R S\        V 4      8  d
   V S,          MR4      p\        V\        4      '       g   Q 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)   N)getlen
isinstancer   r   close)r,   r.   r)   r%   idxscopes_lists   *, r   websocket_wrapper6requires.<locals>.decorator.<locals>.websocket_wrapper-   sr     "JJ{s4yDIVZ[	!)Y7777))[AA#//+++//// ,/s$   A)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 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(   Nnext?i/  )urlr    )r    r3   r4   r5   r   r   r   strrA   url_forr   r
   
r,   r.   r(   orig_request_qparamnext_urlr%   r7   r"   r8   r    s
   *,   r   async_wrapper2requires.<locals>.decorator.<locals>.async_wrapper;   s      **YS3t9_S	RVW!'73333)';??+.7W[[AQ8R.S+&-ooh&?%@BUAV#W/H#NN'K@@!4262222s   B4B>7B<8B>c               $    V ^8  d   QhRRRRRR/# r<   r   )r   s   "r   r   r1   M   s!     
- 
-G 
-y 
-S 
-r   c                 d  < TP                  R S\        V 4      8  d
   V S,          MR4      p\        V\        4      '       g   Q 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 # r>   rB   rE   s
   *,   r   sync_wrapper1requires.<locals>.decorator.<locals>.sync_wrapperL   s     **YS3t9_S	RVW!'7333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_r9   rH   rL   r7   r"   r8   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   )r5   rC   list)r   r    r"   rZ   r8   s   &ff @r   requiresr]      s1    
 )556(4<K9  9 v r   c                      ] tR t^^tRtR# )AuthenticationErrorr   N)__name__
__module____qualname____firstlineno____static_attributes__r   r   r   r_   r_   ^   s    r   r_   c                  "    ] tR t^bt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__c   s     $ $~ $:a $r   c                	   "   \        4       h5iNNotImplementedError)selfr   s   &&r   authenticate"AuthenticationBackend.authenticatec   s     !##s   r   N)r`   ra   rb   rc   rn   rd   r   r   r   rf   rf   b   s    $ $r   rf   c                  &    ] tR t^gt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__h   s     = =3 =r   c                	@    Vf
   . V n        R # \        V4      V n        R # rj   )r\   r   )rm   r   s   &&r   __init__AuthCredentials.__init__h   s    "NbVr   )r   rj   )r`   ra   rb   rc   ru   rd   r   r   r   rq   rq   g   s    = =r   rq   c                  X    ] tR t^lt]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__n   s     $ $$ $r   c                	    \        4       hrj   rk   rm   s   &r   is_authenticatedBaseUser.is_authenticatedm       !##r   c                   V ^8  d   QhRR/# r   r   rC   r   )r   s   "r   r   r{   r   s     $ $c $r   c                	    \        4       hrj   rk   r}   s   &r   display_nameBaseUser.display_nameq   r   r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r{   v   s     $ $# $r   c                	    \        4       hrj   rk   r}   s   &r   identityBaseUser.identityu   r   r   r   N)	r`   ra   rb   rc   propertyr~   r   r   rd   r   r   r   rx   rx   l   s<    $ $ $ $ $ $r   rx   c                  N    ] tR t^zt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   usernamerC   r   r0   r   )r   s   "r   r   SimpleUser.__annotate__{   s     ! ! ! !r   c                	    Wn         R # rj   r   )rm   r   s   &&r   ru   SimpleUser.__init__{   s     r   c                   V ^8  d   QhRR/# rz   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                   # rj   r   r}   s   &r   r   SimpleUser.display_name   s    }}r   r   N)	r`   ra   rb   rc   ru   r   r~   r   rd   r   r   r   r   r   z   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/# rz   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)r`   ra   rb   rc   r   r~   r   rd   r   r   r   r   r      s(       r   r   )i  N)!
__future__r   rU   rN   collections.abcr   r   typingr   r   urllib.parser   starlette._utilsr	   starlette.exceptionsr
   starlette.requestsr   r   starlette.responsesr   starlette.websocketsr   r   r   r]   rT   r_   rf   rq   rx   r   r   r   r   r   <module>r      s}    "   . ! " . . 6 0 *t_BJ	) 	$ $
= =
$ $
 
( r   