Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyJWT.decode: move verify param into options #271

Merged
merged 1 commit into from
Jun 21, 2017

Commits on Jun 21, 2017

  1. PyJWT.decode: move verify param into options

    Followup to jpadilla#270:
    
    It seems that "verify" is only deprecated with `PyJWS.decode`, which
    makes sense, since you would have to override a lot of options to skip
    the verification in `PyJWT._validate_claims`.
    
    This makes `PyJWT.decode` use the `verify_signature` option when calling
    `PyJWT.decode`, and therefore also allows to use `stacklevel=2` there
    then for the DeprecationWarning.
    blueyed committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    f61d37f View commit details
    Browse the repository at this point in the history