- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 1,866 for toen (0.02 seconds)
-
docs/en/docs/advanced/events.md
/// ### `startup` and `shutdown` together { #startup-and-shutdown-together } There's a high chance that the logic for your *startup* and *shutdown* is connected, you might want to start something and then finish it, acquire a resource and then release it, etc. Doing that in separated functions that don't share logic or variables together is more difficult as you would need to store values in global variables or similar tricks.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/oauth2-scopes.md
<img src="/img/tutorial/security/image11.png"> ## 內含 scopes 的 JWT token { #jwt-token-with-scopes } 現在,修改 token 的路徑操作以回傳所請求的 scopes。 我們仍然使用相同的 `OAuth2PasswordRequestForm`。它包含屬性 `scopes`,其為 `list` 的 `str`,列出請求中收到的每個 scope。 並且我們將這些 scopes 作為 JWT token 的一部分回傳。 /// danger 為了簡化,這裡我們只是直接把接收到的 scopes 加進 token。 但在你的應用中,為了安全性,你應確保只加入該使用者實際可擁有或你預先定義的 scopes。 ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 12.7K bytes - Click Count (0) -
docs_src/dependencies/tutorial006_an_py310.py
from fastapi import Depends, FastAPI, Header, HTTPException app = FastAPI() async def verify_token(x_token: Annotated[str, Header()]): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: Annotated[str, Header()]): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 633 bytes - Click Count (0) -
docs/ko/docs/tutorial/header-params.md
중복 헤더의 모든 값을 파이썬 `list`로 수신합니다. 예를 들어, 두 번 이상 나타날 수 있는 `X-Token`헤더를 선언하려면, 다음과 같이 작성합니다: {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} 다음과 같은 두 개의 HTTP 헤더를 전송하여 해당 *경로 처리* 와 통신할 경우: ``` X-Token: foo X-Token: bar ``` 응답은 다음과 같습니다: ```JSON { "X-Token values": [ "bar", "foo" ] } ``` ## 요약 { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Jan 11 00:15:26 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/en/docs/python-types.md
But then you have to call "that method that converts the first letter to upper case". Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`? Then, you try with the old programmer's friend, editor autocompletion. You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/pt/docs/advanced/security/oauth2-scopes.md
<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. Nós ainda estamos utilizando o mesmo `OAuth2PasswordRequestForm`. Ele inclui a propriedade `scopes` com uma `list` de `str`, com cada escopo que ele recebeu na requisição. E nós retornamos os escopos como parte do token JWT. /// danger | Cuidado
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 14.9K bytes - Click Count (0) -
helm/minio/templates/_helper_create_user.txt
if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 12 23:43:32 GMT 2023 - 3.2K bytes - Click Count (0) -
docs/en/docs/async.md
Then, when it's your turn, you do actual "productive" work, you process the menu, decide what you want, get your crush's choice, pay, check that you give the correct bill or card, check that you are charged correctly, check that the order has the correct items, etc.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 23.4K bytes - Click Count (0) -
.github/workflows/lock.yml
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 30 03:27:43 GMT 2022 - 447 bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
startLatch.countDown(); // Wait for completion assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout"); executor.shutdown(); // Then - Verify no exceptions occurred if (!exceptions.isEmpty()) { fail("Concurrent operations caused exceptions: " + exceptions.get(0)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0)