summaryrefslogtreecommitdiff
path: root/jwt/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Added new options for requiring exp, iat, and nbf claims.Mark Adams2015-06-021-0/+8
| | | | Thanks to David Black <dblack@atlassian.com> for the suggestion.
* Made some PEP8 fixes that came from the last commit.Mark Adams2015-03-291-1/+1
|
* Added checks on iat to make sure that a token can't be issued for theMark Adams2015-03-291-1/+9
| | | | | future Changed nbf exception to ImmatureSignatureError
* Added the ability to specify both a global alg whitelist for a PyJWT object ↵Mark Adams2015-03-171-0/+4
| | | | and a whitelist for calls to decode. (Fixes #107)
* Added a check to raise an error if alg = 'none' and a key is specified. ↵Mark Adams2015-03-171-1/+1
| | | | (Fixes #106)
* Fixed indentation and spacing to pass PEP8Mark Adams2015-03-171-0/+1
|
* Added a check so that asymmetric keys cannot be used as HMAC secrets to fix #105Mark Adams2015-03-171-0/+3
|
* Cleanup __init__ moduleJosé Padilla2015-01-181-0/+24
- Expose public API - Move exceptions to separate module - Use relative imports