|
|
@ -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. |
|
|
|