Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/rst/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/rst/topics/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down