HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/cloudlinux/venv/lib/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  �F/opt/cloudlinux/venv/lib/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