- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for doing (0.16 sec)
-
docs/en/docs/tutorial/security/first-steps.md
## **FastAPI**'s `OAuth2PasswordBearer` **FastAPI** provides several tools, at different levels of abstraction, to implement these security features. In this example we are going to use **OAuth2**, with the **Password** flow, using a **Bearer** token. We do that using the `OAuth2PasswordBearer` class. !!! info A "bearer" token is not the only option.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
Normally you use: * `POST`: to create data. * `GET`: to read data. * `PUT`: to update data. * `DELETE`: to delete data. So, in OpenAPI, each of the HTTP methods is called an "operation". We are going to call them "**operations**" too. #### Define a *path operation decorator* ```Python hl_lines="6" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0)