Your IP : 18.117.8.84
�
��bg[+ � �* � d dl mZ d dlZd dlZd dlZd dlmZmZ ddlm Z m
Z
mZmZ ddl
mZmZmZmZ ddlmZmZ ddlmZ erdd lmZmZ G d
� d� � Z e� � Zej Zej Zej Zej Zej Zej Zej Z dS )� )�annotationsN)�
TYPE_CHECKING�Any� )� Algorithm�get_default_algorithms�
has_crypto�requires_cryptography)�DecodeError�InvalidAlgorithmError�InvalidSignatureError�InvalidTokenError)�base64url_decode�base64url_encode)�RemovedInPyjwt3Warning)�AllowedPrivateKeys�AllowedPublicKeysc � � e Zd ZdZ d:d;d �Zed<d�� � Zd=d�Zd>d�Zd?d�Z d@d�Z
dAdBd%�Z dCdDd-�Z dCdEd/�Z
dFd0�ZdGd2�Z dHdId6�ZdJd7�ZdKd9�ZdS )L�PyJWS�JWTN�
algorithms�list[str] | None�options�dict[str, Any] | None�return�Nonec �6 � t � � | _ |�t |� � nt | j � � | _ t | j � � � � � D ]}|| j vr| j |= �|�i }i | � � � �|�| _ d S )N)r �_algorithms�set�_valid_algs�list�keys�_get_default_optionsr )�selfr r �keys �B/opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/api_jws.py�__init__zPyJWS.__init__ s� � �
2�3�3���)�5�C�
�O�O�O�3�t�?O�;P�;P�
��
��(�-�-�/�/�0�0� *� *�C��$�*�*�*��$�S�)���?��G�A�$�3�3�5�5�A��A����� �dict[str, bool]c �
� ddiS )N�verify_signatureT� r, r( r&