22 lines
1.0 KiB
Python
22 lines
1.0 KiB
Python
# uncompyle6 version 3.9.2
|
|
# Python bytecode version base 3.7.0 (3394)
|
|
# Decompiled from: Python 3.8.19 (default, Mar 20 2024, 15:27:52)
|
|
# [Clang 14.0.6 ]
|
|
# Embedded file name: /var/user/app/device_supervisorbak/device_supervisor/lib/jwt/__init__.py
|
|
# Compiled at: 2024-04-18 03:12:55
|
|
# Size of source mod 2**32: 841 bytes
|
|
"""
|
|
JSON Web Token implementation
|
|
|
|
Minimum implementation based on this spec:
|
|
http://self-issued.info/docs/draft-jones-json-web-token-01.html
|
|
"""
|
|
__title__ = "pyjwt"
|
|
__version__ = "1.7.1"
|
|
__author__ = "José Padilla"
|
|
__license__ = "MIT"
|
|
__copyright__ = "Copyright 2015-2018 José Padilla"
|
|
from .api_jwt import encode, decode, register_algorithm, unregister_algorithm, get_unverified_header, PyJWT
|
|
from .api_jws import PyJWS
|
|
from .exceptions import InvalidTokenError, DecodeError, InvalidAlgorithmError, InvalidAudienceError, ExpiredSignatureError, ImmatureSignatureError, InvalidIssuedAtError, InvalidIssuerError, ExpiredSignature, InvalidAudience, InvalidIssuer, MissingRequiredClaimError, InvalidSignatureError, PyJWTError
|