관리-도구
편집 파일: api_jws.cpython-311.pyc
� O�Dg� � � � d dl Z d dlZd dlmZ d dlmZmZmZmZm Z ddl mZmZm Z mZ ddlmZmZmZmZ ddlmZmZ G d� d � � Z e� � Zej Zej Zej Zej Zej Zej ZdS ) � N)�Mapping)�Any�Dict�List�Optional�Type� )� Algorithm�get_default_algorithms� has_crypto�requires_cryptography)�DecodeError�InvalidAlgorithmError�InvalidSignatureError�InvalidTokenError)�base64url_decode�base64url_encodec �, � e Zd ZdZdd�Zed� � � Zd� Zd� Zd� Z dd e d ededee d eeej defd�Z dded edee de de eef f d�Z dded edee de def d�Zd� Zd� Z dd�Zd� Zd� ZdS )�PyJWS�JWTNc �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_options�options)�self� algorithmsr �keys �k/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/jwt/api_jws.py�__init__zPyJWS.__init__ s� � �1�3�3���)�5�C� �O�O�O�3�t�?O�;P�;P� �� ��(�-�-�/�/�0�0� *� *�C��$�*�*�*��$�S�)���?��G�A�$�3�3�5�5�A��A����� c � � ddiS )N�verify_signatureT� r'