- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 7,283 for them (0.03 seconds)
-
docs/en/docs/tutorial/security/oauth2-jwt.md
So, to avoid ID collisions, when creating the JWT token for the user, you could prefix the value of the `sub` key, e.g. with `username:`. So, in this example, the value of `sub` could have been: `username:johndoe`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
## Inject the current user { #inject-the-current-user } So now we can use the same `Depends` with our `get_current_user` in the *path operation*: {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *} Notice that we declare the type of `current_user` as the Pydantic model `User`. This will help us inside of the function with all the completion and type checks. /// tipCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 4K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason. Python will complain if you put a value with a "default" before a value that doesn't have a "default". But you can re-order them, and have the value without a default (the query parameter `q`) first.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (0) -
docs/en/docs/advanced/security/index.md
There are some extra features to handle security apart from the ones covered in the [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank}. /// tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. /// ## Read the Tutorial first { #read-the-tutorial-first }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 708 bytes - Click Count (0) -
docs/en/docs/advanced/security/http-basic-auth.md
When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password: <img src="/img/tutorial/security/image12.png"> ## Check the username { #check-the-username } Here's a more complete example. Use a dependency to check if the username and password are correct.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 5K bytes - Click Count (0) -
cmd/rebalstatus_string.go
package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[rebalNone-0] _ = x[rebalStarted-1] _ = x[rebalCompleted-2] _ = x[rebalStopped-3] _ = x[rebalFailed-4] }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Oct 25 19:36:57 GMT 2022 - 795 bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
/* * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates * for the top k elements. Whenever the buffer is filled, we quickselect the top k elements to the * range [0, k) and ignore the remaining elements. */ private final @Nullable T[] buffer; private int bufferSize; /** * The largest of the lowest k elements we've seen so far relative to this comparator. If
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/en/docs/how-to/extending-openapi.md
* `openapi_version`: The version of the OpenAPI specification used. By default, the latest: `3.1.0`. * `summary`: A short summary of the API. * `description`: The description of your API, this can include markdown and will be shown in the docs. * `routes`: A list of routes, these are each of the registered *path operations*. They are taken from `app.routes`. /// info
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/en/docs/tutorial/metadata.md
| `license_info` | `dict` | The license information for the exposed...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.9K bytes - Click Count (0) -
docs/fr/llm-prompt.md
* «autocomplete»: «autocomplétion» * «autocompletion»: «autocomplétion» * «the request» (what the client sends to the server): «la requête» * «the response» (what the server sends back to the client): «la réponse» * «the request body»: «le corps de la requête» * «the response body»: «le corps de la réponse» * «path operation»: «opération de chemin»
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:41:43 GMT 2025 - 4.1K bytes - Click Count (0)