HEX
Server: Apache/2.4.67 (Debian)
System: Linux vps-b2547eb4 6.1.0-41-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/jwt/__pycache__/jwk_set_cache.cpython-311.pyc
�

&�)c���D�ddlZddlmZddlmZmZGd�d��ZdS)�N)�Optional�)�PyJWKSet�PyJWTSetWithTimestampc�J�eZdZdefd�Zdefd�Zdeefd�Zde	fd�Z
dS)	�JWKSetCache�lifespanc�"�d|_||_dS�N)�jwk_set_with_timestampr	)�selfr	s  �3/usr/lib/python3/dist-packages/jwt/jwk_set_cache.py�__init__zJWKSetCache.__init__s��GK��#� ��
�
�
��jwk_setc�D�|�t|��|_dSd|_dSr)rr)r
rs  r�putzJWKSetCache.puts.����*?��*H�*H�D�'�'�'�+/�D�'�'�'r�returnc�n�|j�|���rdS|j���Sr)r�
is_expired�get_jwk_set�r
s r�getzJWKSetCache.gets4���&�.�$�/�/�2C�2C�.��4��*�6�6�8�8�8rc��|jduo@|jdko5tj��|j���|jzkS)N���)rr	�time�	monotonic�
get_timestamprs rrzJWKSetCache.is_expiredsT��
�'�t�3�
J��
��"�
J��� � ��)�7�7�9�9�D�M�I�J�	
rN)�__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