Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/jwt/__init__.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
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, decode_complete, 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
29from .warnings import InsecureKeyLengthWarning
31__version__ = "2.11.0"
33__title__ = "PyJWT"
34__description__ = "JSON Web Token implementation in Python"
35__url__ = "https://pyjwt.readthedocs.io"
36__uri__ = __url__
37__doc__ = f"{__description__} <{__uri__}>"
39__author__ = "José Padilla"
40__email__ = "hello@jpadilla.com"
42__license__ = "MIT"
43__copyright__ = "Copyright 2015-2026 José Padilla"
46__all__ = [
47 "PyJWS",
48 "PyJWT",
49 "PyJWKClient",
50 "PyJWK",
51 "PyJWKSet",
52 "decode",
53 "decode_complete",
54 "encode",
55 "get_unverified_header",
56 "register_algorithm",
57 "unregister_algorithm",
58 "get_algorithm_by_name",
59 # Warnings
60 "InsecureKeyLengthWarning",
61 # Exceptions
62 "DecodeError",
63 "ExpiredSignatureError",
64 "ImmatureSignatureError",
65 "InvalidAlgorithmError",
66 "InvalidAudienceError",
67 "InvalidIssuedAtError",
68 "InvalidIssuerError",
69 "InvalidKeyError",
70 "InvalidSignatureError",
71 "InvalidTokenError",
72 "MissingRequiredClaimError",
73 "PyJWKClientConnectionError",
74 "PyJWKClientError",
75 "PyJWKError",
76 "PyJWKSetError",
77 "PyJWTError",
78]