summaryrefslogtreecommitdiff
path: root/jwt/__init__.py
blob: 5329cbfb8e8dc591271b9b084b8ef50d46c71ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- coding: utf-8 -*-
# flake8: noqa

"""
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__ = '0.4.1'
__author__ = 'José Padilla'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015 José Padilla'


from .api import encode, decode, register_algorithm
from .exceptions import (
    InvalidTokenError, DecodeError, ExpiredSignatureError,
    InvalidAudienceError, InvalidIssuerError
)