- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 1,866 for toen (0.02 seconds)
-
docs/resiliency/resiliency-tests.sh
STATUS=$? if [ $STATUS -eq 0 ]; then DATA_DRIVE=1 fi if [ $DATA_DRIVE -eq -1 ]; then # Check for existence of file in erasure set 2 docker exec resiliency-minio1-1 /bin/sh -c "stat /data5/test-bucket/$DIR/$FILE/xl.meta" >/dev/null 2>&1 STATUS=$? if [ $STATUS -eq 0 ]; then DATA_DRIVE=5 fi fi echo $DATA_DRIVE }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 20.5K bytes - Click Count (0) -
docs_src/dependencies/tutorial006_py310.py
from fastapi import Depends, FastAPI, Header, HTTPException app = FastAPI() async def verify_token(x_token: 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: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 583 bytes - Click Count (0) -
fastapi/security/http.py
bool, Doc( """ By default, if the HTTP Bearer token is not provided (in an `Authorization` header), `HTTPBearer` will automatically cancel the request and send the client an error. If `auto_error` is set to `False`, when the HTTP Bearer token is not available, instead of erroring out, the dependency result willCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
docs/fr/docs/tutorial/header-params.md
Par exemple, pour déclarer un en-tête `X-Token` qui peut apparaître plusieurs fois, vous pouvez écrire : {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} Si vous communiquez avec ce *chemin d'accès* en envoyant deux en-têtes HTTP comme : ``` X-Token: foo X-Token: bar ``` La réponse ressemblerait à ceci : ```JSON { "X-Token values": [ "bar", "foo" ] }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 3.4K bytes - Click Count (0) -
helm-releases/minio-4.0.6.tgz
set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then echo "Purging bucket '$BUCKET'." set +e ; # don't exit if this fails ${MC} rm -r --force myminio/$BUCKET set -e ; # reset `e` as active else echo "Bucket '$BUCKET' does not exist, skipping purge." fi fi # Create the bucket if it does not exist if ! checkBucketExists $BUCKET ; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET else echo "Bucket '$BUCKET' already...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jul 24 03:34:14 GMT 2022 - 18.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/first-steps.md
/// tip | 提示 这里的 `tokenUrl="token"` 指向的是尚未创建的相对 URL `token`,等价于 `./token`。 因为使用的是相对 URL,若你的 API 位于 `https://example.com/`,它将指向 `https://example.com/token`;若你的 API 位于 `https://example.com/api/v1/`,它将指向 `https://example.com/api/v1/token`。 使用相对 URL 很重要,这能确保你的应用在诸如[使用代理](../../advanced/behind-a-proxy.md)等高级用例中依然正常工作。 /// 这个参数不会创建该端点/*路径操作*,而是声明客户端应使用 `/token` 这个 URL 来获取令牌。这些信息会用于 OpenAPI,进而用于交互式 API 文档系统。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.5K bytes - Click Count (0) -
buildscripts/heal-inconsistent-versions.sh
set -x WORK_DIR="$PWD/.verify-$RANDOM" MINIO_CONFIG_DIR="$WORK_DIR/.minio" MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi function start_minio_4drive() { start_port=$1
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 26 05:07:25 GMT 2023 - 1.9K bytes - Click Count (0) -
tests/update_test.go
} owner := TokenOwner{ Name: "user", Token: Token{Content: "token"}, } o1, err := saveTokenOwner(&owner) if err != nil { t.Errorf("failed to save token owner, got error: %v", err) } if o1.Name != "user_name" { t.Errorf(`owner name should be "user_name", but got: "%s"`, o1.Name) } if o1.Token.Content != "token_encrypted" {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/header-params.md
有時可能會收到重複的標頭,也就是同一個標頭會有多個值。 可以在型別宣告中使用 list 來定義這種情況。 你會以 Python 的 `list` 形式收到該重複標頭的所有值。 例如,要宣告可以出現多次的 `X-Token` 標頭,可以這樣寫: {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} 如果你在與該*路徑操作 (path operation)* 溝通時送出兩個 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: Sat Feb 14 08:15:26 GMT 2026 - 2.7K bytes - Click Count (0) -
cmd/sts-datatypes.go
// This is traditionally the client identifier issued to the application that // requested the client grants. Audience string `xml:",omitempty"` // The temporary security credentials, which include an access key ID, a secret // access key, and a security (or session) token. // // Note: The size of the security token that STS APIs return is not fixed. We
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 27 00:58:09 GMT 2022 - 9.9K bytes - Click Count (0)