관리-도구
편집 파일: api_jwt.cpython-311.pyc
� O�Dg� � �� � d dl Z d dlmZ d dlmZmZ d dlmZmZ d dlm Z m Z mZmZm Z mZ ddlmZ ddlmZmZmZmZmZmZmZ G d � d � � Z e� � Zej Zej Zej ZdS )� N)�timegm)�Iterable�Mapping)�datetime� timedelta)�Any�Dict�List�Optional�Type�Union� )�api_jws)�DecodeError�ExpiredSignatureError�ImmatureSignatureError�InvalidAudienceError�InvalidIssuedAtError�InvalidIssuerError�MissingRequiredClaimErrorc �r � e Zd Zdd�Zedeeeee e f f fd�� � Z ddeeef deded ee d ee ej defd�Z dd edede e dedeeef f d�Z dd edede e dedeeef f d�Z dd�Zd� Zd� Zd� Zd� Zd� Zd� ZdS )�PyJWTNc �H � |�i }i | � � � �|�| _ d S �N)�_get_default_options�options)�selfr s �k/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/jwt/api_jwt.py�__init__zPyJWT.__init__ s- � ��?��G�A�$�3�3�5�5�A��A����� �returnc � � 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 �HS256�payload�key� algorithm�headers�json_encoderc � � t |t � � st d� � �|� � � }dD ]T}t |� |� � t � � r*t || � � � � � ||<