MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/__pycache__/jwk_set_cache.cpython-311.pyc
�

݋f���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