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

Add Hawk authentication backend #13

Merged
merged 1 commit into from
Jan 27, 2019
Merged

Commits on Jan 23, 2019

  1. Add Hawk authentication backend

    This adds support for the [Hawk "Holder-Of-Key Authentication Scheme"](https://github.com/hueniverse/hawk`) backend.
    
    This also updates the `MultiAuthBackend` to collect any challenges from failed
    backends and provide them on the synthesized `HTTPUnauthorized` error if no
    backend succeeds in authenticating the request.
    
    The hawk library, and now the jwt library, are optional dependencies that must be
    specified in the client project's requirements as ["extras"](https://www.python.org/dev/peps/pep-0508/#extras). This ensures that clients
    only install the backend libraries necessary to their use case.
    
    This also cleans up some redundant specification of default values when raising
    `falcon.HTTPUnauthorized` exceptions from the backend code.
    
    Lastly, it adds testing support for 3.7 and adds classifier strings to setup.py
    Josh Wilson committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    9999a47 View commit details
    Browse the repository at this point in the history