
    k7i                     b    S SK r S SKrS SKr\R                  \R                  -   rS\4S jrS rg)    N   c                 z   ^^ [         R                  " 5       mSR                  UU4S j[        U 5       5       5      $ )N c              3   F   >#    U  H  nTR                  T5      v   M     g 7f)N)choice).0_charsrands     Q/home/james-whalen/.local/lib/python3.13/site-packages/authlib/common/security.py	<genexpr>!generate_token.<locals>.<genexpr>
   s     =}!4;;u%%}s   !)randomSystemRandomjoinrange)lengthr
   r   s    `@r   generate_tokenr      s*     D77=uV}===    c                 |    [         R                  " S5      (       a  gU R                  5       n U R                  S5      $ )zCheck if the uri is over ssl.AUTHLIB_INSECURE_TRANSPORTT)zhttps://zhttp://localhost:zhttp://127.0.0.1:)osgetenvlower
startswith)uris    r   is_secure_transportr      s0    	yy-..
))+C>>PQQr   )r   r   stringascii_lettersdigitsUNICODE_ASCII_CHARACTER_SETr   r    r   r   <module>r#      s6    	  $22V]]B  $? >
Rr   