diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/testapp.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/testapp.rst b/docs/testapp.rst index 430d0a9..911daca 100644 --- a/docs/testapp.rst +++ b/docs/testapp.rst @@ -105,7 +105,14 @@ dictionary: app = TestApp(my_app) app.authorization = ('Basic', ('user', 'password')) -Only Basic auth is supported for now. +You can also use bearer token or JWT authorization types: + +.. code-block:: python + + app = TestApp(my_app) + app.authorization = ('Bearer', 'mytoken') + # or + app.authorization = ('JWT', 'myjwt') Testing a non wsgi application ------------------------------ |
