
    fd                     F    d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d Z
y)    )	timedelta)timezone)verify_and_decode)
jwt_encode)OAuth2Errorc                     t        j                         }dddddd|d|t        d      z   d		}t        |d
      }t	        d      D ]!  }	 t        |d|d   |d   dd       |dk(  sJ # y # t        $ r
 |dk(  sJ Y 7w xY w)Nzhttps://accounts.google.com	client_id108204268033311374519zexample.comen(a4e9b64d5e31da48a2037216e4ba9a5f5f4f50a0   )hours)	issazpaudsubhdlocaleiatjtiexpsecret   /r   r   F)
credentialkeys_urlissueraudience
lookup_kidverify_signaturer   )r   nowr   r   ranger   r   )enable_cacher!   payloadid_tokenattempts        k/var/www/cs2snipe.com/venv/lib/python3.12/site-packages/allauth/socialaccount/internal/tests/test_jwtkit.pytest_verify_and_decoder(   
   s    
,,.C,&9YQ''
G '8,H8  	 #u~  !& a<<   	 a<<	 s   	A**A=<A=N)datetimer   django.utilsr   %allauth.socialaccount.internal.jwtkitr   ,allauth.socialaccount.providers.apple.clientr   -allauth.socialaccount.providers.oauth2.clientr   r(        r'   <module>r0      s     ! C C E r/   