From 95f15070aac70b35b5b030da1193421f5e68e259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Gilli=C3=9Fen?= Date: Thu, 8 Aug 2019 09:34:00 +0200 Subject: [PATCH 1/2] Correct basicAuth information Currently, the documentation shows an incorrect value for "basicAuth". I updated it to match the correct parameter value. --- docs/rst/topics/main.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rst/topics/main.rst b/docs/rst/topics/main.rst index 25fbd1d..618c5d4 100644 --- a/docs/rst/topics/main.rst +++ b/docs/rst/topics/main.rst @@ -31,7 +31,7 @@ Security is a placeholder of authorizations, auth = Security(app) # insert autorization information - app.update_with('simple_basicAuth', ('user', 'password')) + app.update_with('basicAuth', ('user', 'password')) app.update_with('simple_apiKey', 'token123') app.update_with('simple_oath2', 'token123456') From f71759a4e282ccf7de532c3c6cfe4bf9984fe46e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Gilli=C3=9Fen?= Date: Thu, 8 Aug 2019 09:55:45 +0200 Subject: [PATCH 2/2] Update basicAuth parameter --- docs/rst/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rst/index.rst b/docs/rst/index.rst index aef5177..e816aef 100644 --- a/docs/rst/index.rst +++ b/docs/rst/index.rst @@ -38,7 +38,7 @@ Getting Started # init Security for authorization auth = Security(app) - auth.update_with('simple_basic_auth', ('user', 'password')) # basic auth + auth.update_with('basicAuth', ('user', 'password')) # basic auth auth.update_with('simple_api_key', '12312312312312312313q') # api key auth.update_with('simple_oauth2', '12334546556521123fsfss') # oauth2