- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 641 for srcs (0.02 seconds)
-
docs/ru/docs/advanced/security/oauth2-scopes.md
И вы сможете выбрать, какие scopes вы хотите выдать доступ: `me` и `items`. Это тот же механизм, когда вы даёте разрешения при входе через Facebook, Google, GitHub и т.д.: <img src="/img/tutorial/security/image11.png"> ## JWT-токены со scopes { #jwt-token-with-scopes } Теперь измените операцию пути, выдающую токен, чтобы возвращать запрошенные scopes.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 20.7K bytes - Click Count (0) -
docs/fr/docs/advanced/additional-responses.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 9.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/schema-extra-example.md
여기, `Body()`에 예상되는 예제 데이터 하나를 포함한 `examples`를 넘겼습니다: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### 문서 UI 예시 위의 어느 방법과 함께라면 `/docs`에서 다음과 같이 보일 것입니다: <img src="/img/tutorial/body-fields/image01.png"> ### 다중 `examples`를 포함한 `Body` 물론 여러 `examples`를 넘길 수 있습니다: {* ../../docs_src/schema_extra_example/tutorial004_an_py310.py hl[23:38] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 10.7K bytes - Click Count (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
`scopes` 参数接收**字典**,键是作用域、值是作用域的描述: {* ../../docs_src/security/tutorial005.py hl[62:65] *} 因为声明了作用域,所以登录或授权时会在 API 文档中显示。 此处,选择给予访问权限的作用域: `me` 和 `items`。 这也是使用脸书、谷歌、GitHub 登录时的授权机制。 <img src="/img/tutorial/security/image11.png"> ## JWT 令牌作用域 现在,修改令牌*路径操作*,返回请求的作用域。 此处仍然使用 `OAuth2PasswordRequestForm`。它包含类型为**字符串列表**的 `scopes` 属性,且`scopes` 属性中包含要在请求里接收的每个作用域。 这样,返回的 JWT 令牌中就包含了作用域。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 29 20:41:04 GMT 2024 - 11.6K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// The interactive API docs will update accordingly, to allow multiple values: <img src="/img/tutorial/query-params-str-validations/image02.png"> ### Query parameter list / multiple values with defaults { #query-parameter-list-multiple-values-with-defaults }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
When you see the automatic docs, you can check that the input model and output model will both have their own JSON Schema: <img src="/img/tutorial/response-model/image01.png"> And both models will be used for the interactive API documentation: <img src="/img/tutorial/response-model/image02.png"> ## Other Return Type Annotations { #other-return-type-annotations }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 15.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-model.md
Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON: <img src="/img/tutorial/response-model/image01.png"> E ambos os modelos serão usados para a documentação interativa da API: <img src="/img/tutorial/response-model/image02.png"> ## Outras anotações de tipo de retorno { #other-return-type-annotations }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/sql-databases.md
</div> Então, vá para a interface `/docs`, você verá que o **FastAPI** está usando esses **modelos** para **documentar** a API, e ele também os usará para **serializar** e **validar** os dados. <div class="screenshot"> <img src="/img/tutorial/sql-databases/image01.png"> </div> ## Atualizar o App com Múltiplos Modelos { #update-the-app-with-multiple-models }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 16.9K bytes - Click Count (0) -
docs/pt/docs/advanced/security/oauth2-scopes.md
E você poderá selecionar quais escopos você deseja dar acesso: `me` e `items`. Este é o mesmo mecanismo utilizado quando você adiciona permissões enquanto se autentica com o Facebook, Google, GitHub, etc: <img src="/img/tutorial/security/image11.png"> ## Token JWT com escopos { #jwt-token-with-scopes } Agora, modifique a *operação de rota* do token para retornar os escopos solicitados.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 14.9K bytes - Click Count (0) -
cmd/data-usage-cache.go
// copyWithChildren will copy entry with hash from src if it exists along with any children. // If a parent is specified it will be added to that if not already there. // If the parent does not exist, it will be added. func (d *dataUsageCache) copyWithChildren(src *dataUsageCache, hash dataUsageHash, parent *dataUsageHash) { if d.Cache == nil { d.Cache = make(map[string]dataUsageEntry, 100) } e, ok := src.Cache[hash.String()] if !ok { return
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0)