- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for enforce (0.21 sec)
-
fastapi/security/oauth2.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
docs/en/docs/tutorial/first-steps.md
And the more exotic ones: * `@app.options()` * `@app.head()` * `@app.patch()` * `@app.trace()` !!! tip You are free to use each operation (HTTP method) as you wish. **FastAPI** doesn't enforce any specific meaning. The information here is presented as a guideline, not a requirement. For example, when using GraphQL you normally perform all the actions using only `POST` operations.
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) -
docs/en/docs/tutorial/security/simple-oauth2.md
* An optional `grant_type`. !!! tip The OAuth2 spec actually *requires* a field `grant_type` with a fixed value of `password`, but `OAuth2PasswordRequestForm` doesn't enforce it. If you need to enforce it, use `OAuth2PasswordRequestFormStrict` instead of `OAuth2PasswordRequestForm`. * An optional `client_id` (we don't need it for our example). * An optional `client_secret` (we don't need it for our example).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
docs/fr/docs/history-design-future.md
De nombreux développeurs et équipes dépendent déjà de **FastAPI** pour leurs projets (y compris moi et mon équipe). Mais il y a encore de nombreuses améliorations et fonctionnalités à venir. **FastAPI** a un grand avenir devant lui.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 4.9K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
This is very useful when you need to: * Have shared logic (the same code logic again and again). * Share database connections. * Enforce security, authentication, role requirements, etc. * And many other things... All these, while minimizing code repetition. ## First Steps
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/fr/docs/async.md
```Python burgers = await get_burgers(2) ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 24K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
But OAuth2 with scopes can be nicely integrated into your API (with OpenAPI) and your API docs. Nevertheless, you still enforce those scopes, or any other security/authorization requirement, however you need, in your code. In many cases, OAuth2 with scopes can be an overkill. But if you know you need it, or you are curious, keep reading.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
The `Union` in `Union[str, None]` will allow your editor to give you better support and detect errors. ## Additional validation We are going to enforce that even though `q` is optional, whenever it is provided, **its length doesn't exceed 50 characters**. ### Import `Query` and `Annotated` To achieve that, first import: * `Query` from `fastapi`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
Containers are mainly a tool to simplify the process of **building and deploying** an application, but they don't enforce a particular approach to handle these **deployment concepts**, and there are several possible strategies. The **good news** is that with each different strategy there's a way to cover all of the deployment concepts. 🎉
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 34K bytes - Viewed (0) -
docs/fr/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 22K bytes - Viewed (0)