Commit Graph

6 Commits

Author SHA1 Message Date
hitrust 1a51dfabf7
Update authentication.md (#1165)
import 'Starlette'

Co-authored-by: Joe <nigelchiang@outlook.com>
2021-04-28 17:42:02 +08:00
Tom Christie 7f8cd04173
Version 0.13 (#704)
* Version 0.13

* Fix misnamed requirement

* Updating routing docs

* Update routing docs

* Update docs

* Simpler Middleware signature

* Update middleware docs

* Update exception docs

* Allow 'None' in middleware lists, for easy disabling of middleware.

* Update README
2019-11-13 12:25:18 +00:00
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