Commit Graph

4 Commits

Author SHA1 Message Date
Tom Christie 7300d873d3
Support `@requires` as a method decorator (#312)
* Support requires method decorator

* Add annotation

* Update docs for requires as a method decorator
2019-01-10 13:46:46 +00:00
Pierre Vanliefland 155c8dd625 Add on_error parameter to AuthenticationMiddleware (#281)
* Add on_error parameter to AuthenticationMiddleware to customise responses when auth fails

* Fine-tuning, type hints
2018-12-18 12:32:28 +00:00
Pierre Vanliefland 8ca0407765 Update authentication.md (#260)
* Update authentication.md

Fixed imports and fixed except syntax

* Update authentication.md

AuthenticationMiddleware: backend parameter should be a backend instance, not a class
2018-12-10 16:51:43 +00:00
Tom Christie ce9556acce
Authentication (#256)
* Authentication

* Fleshing out authentication support

* Version 0.9.6
2018-12-07 13:05:31 +00:00