forked from jpadilla/pyjwt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
74 lines (67 loc) · 1.55 KB
/
__init__.py
File metadata and controls
74 lines (67 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
from .api_jws import PyJWS
from .api_jwt import (
PyJWT,
decode,
encode,
get_unverified_header,
register_algorithm,
unregister_algorithm,
)
from .exceptions import (
DecodeError,
ExpiredSignature,
ExpiredSignatureError,
ImmatureSignatureError,
InvalidAlgorithmError,
InvalidAudience,
InvalidAudienceError,
InvalidIssuedAtError,
InvalidIssuer,
InvalidIssuerError,
InvalidSignatureError,
InvalidTokenError,
MissingRequiredClaimError,
PyJWKClientError,
PyJWKError,
PyJWKSetError,
PyJWTError,
)
from .jwks_client import PyJWKClient
__version__ = "2.0.0.dev"
__title__ = "PyJWT"
__description__ = "JSON Web Token implementation in Python"
__url__ = "https://pyjwt.readthedocs.io"
__uri__ = __url__
__doc__ = __description__ + " <" + __uri__ + ">"
__author__ = "José Padilla"
__email__ = "hello@jpadilla.com"
__license__ = "MIT"
__copyright__ = "Copyright 2015-2020 José Padilla"
__all__ = [
"PyJWS",
"PyJWT",
"PyJWKClient",
"decode",
"encode",
"get_unverified_header",
"register_algorithm",
"unregister_algorithm",
# Exceptions
"DecodeError",
"ExpiredSignature",
"ExpiredSignatureError",
"ImmatureSignatureError",
"InvalidAlgorithmError",
"InvalidAudience",
"InvalidAudienceError",
"InvalidIssuedAtError",
"InvalidIssuer",
"InvalidIssuerError",
"InvalidSignatureError",
"InvalidTokenError",
"MissingRequiredClaimError",
"PyJWKClientError",
"PyJWKError",
"PyJWKSetError",
"PyJWTError",
]