Your IP : 3.137.200.139
�
��bg^1 � � � d dl mZ d dlZd dlZd dlmZ d dlmZ d dlmZm Z m
Z
d dlmZm
Z
ddlmZ dd lmZmZmZmZmZmZmZ dd
lmZ erddlmZmZ G d� d
� � Z e� � Zej Zej Zej Z dS )� )�annotationsN)�timegm)�Iterable)�datetime� timedelta�timezone)�
TYPE_CHECKING�Any� )�api_jws)�DecodeError�ExpiredSignatureError�ImmatureSignatureError�InvalidAudienceError�InvalidIssuedAtError�InvalidIssuerError�MissingRequiredClaimError)�RemovedInPyjwt3Warning)�AllowedPrivateKeys�AllowedPublicKeysc �� � e Zd Zd<d=d�Zed>d�� � Z d?d@d�Z dAdBd�Z dCdDd,�ZdEd.�Z dCdFd/�Z
dGdHd0�ZdId1�ZdJd4�Z
dJd5�ZdJd6�Zd7d8�dKd:�ZdLd;�ZdS )M�PyJWTN�options�dict[str, Any] | None�return�Nonec �H � |�i }i | � � � �|�| _ d S �N)�_get_default_optionsr )�selfr s �B/opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/api_jwt.py�__init__zPyJWT.__init__ s- � ��?��G�'Q�$�*C�*C�*E�*E�'Q��'Q����� �dict[str, bool | list[str]]c � � ddddddg d�S )NT)�verify_signature�
verify_exp�
verify_nbf�
verify_iat�
verify_aud�
verify_iss�require� r- r# r! r zPyJWT._get_default_options s( � � !%�������
�
�
r# �HS256T�payload�dict[str, Any]�key� AllowedPrivateKeys | str | bytes� algorithm�
str | None�headers�json_encoder�type[json.JSONEncoder] | None�sort_headers�bool�strc � � t |t � � st d� � �|� � � }dD ]T}t |� |� � t
� � r*t
|| � � � � � ||<