Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/jwt/__init__.py: 100%
16 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-08 06:05 +0000
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-08 06:05 +0000
1from .api_jwk import PyJWK, PyJWKSet
2from .api_jws import (
3 PyJWS,
4 get_algorithm_by_name,
5 get_unverified_header,
6 register_algorithm,
7 unregister_algorithm,
8)
9from .api_jwt import PyJWT, decode, encode
10from .exceptions import (
11 DecodeError,
12 ExpiredSignatureError,
13 ImmatureSignatureError,
14 InvalidAlgorithmError,
15 InvalidAudienceError,
16 InvalidIssuedAtError,
17 InvalidIssuerError,
18 InvalidKeyError,
19 InvalidSignatureError,
20 InvalidTokenError,
21 MissingRequiredClaimError,
22 PyJWKClientConnectionError,
23 PyJWKClientError,
24 PyJWKError,
25 PyJWKSetError,
26 PyJWTError,
27)
28from .jwks_client import PyJWKClient
30__version__ = "2.8.0"
32__title__ = "PyJWT"
33__description__ = "JSON Web Token implementation in Python"
34__url__ = "https://pyjwt.readthedocs.io"
35__uri__ = __url__
36__doc__ = f"{__description__} <{__uri__}>"
38__author__ = "José Padilla"
39__email__ = "hello@jpadilla.com"
41__license__ = "MIT"
42__copyright__ = "Copyright 2015-2022 José Padilla"
45__all__ = [
46 "PyJWS",
47 "PyJWT",
48 "PyJWKClient",
49 "PyJWK",
50 "PyJWKSet",
51 "decode",
52 "encode",
53 "get_unverified_header",
54 "register_algorithm",
55 "unregister_algorithm",
56 "get_algorithm_by_name",
57 # Exceptions
58 "DecodeError",
59 "ExpiredSignatureError",
60 "ImmatureSignatureError",
61 "InvalidAlgorithmError",
62 "InvalidAudienceError",
63 "InvalidIssuedAtError",
64 "InvalidIssuerError",
65 "InvalidKeyError",
66 "InvalidSignatureError",
67 "InvalidTokenError",
68 "MissingRequiredClaimError",
69 "PyJWKClientConnectionError",
70 "PyJWKClientError",
71 "PyJWKError",
72 "PyJWKSetError",
73 "PyJWTError",
74]