mirror of
https://github.com/fastapi/fastapi.git
synced 2026-03-05 23:47:42 -05:00
✏️ Fix typo in HTTP Basic auth tutorial (#514)
This commit is contained in:
committed by
Sebastián Ramírez
parent
f2e7ef7056
commit
0761f11d1a
@@ -12,8 +12,8 @@ Then, when you type that username and password, the browser sends them in the he
|
||||
|
||||
## Simple HTTP Basic Auth
|
||||
|
||||
* Import `HTTPBAsic` and `HTTPBasicCredentials`.
|
||||
* Create a "`security` scheme" using `HTTPBAsic`.
|
||||
* Import `HTTPBasic` and `HTTPBasicCredentials`.
|
||||
* Create a "`security` scheme" using `HTTPBasic`.
|
||||
* Use that `security` with a dependency in your *path operation*.
|
||||
* It returns an object of type `HTTPBasicCredentials`:
|
||||
* It contains the `username` and `password` sent.
|
||||
|
||||
Reference in New Issue
Block a user