- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 508 for Tokens (0.06 seconds)
-
docs/zh/docs/tutorial/bigger-applications.md
我们将在主 `FastAPI` 应用中包含该 `APIRouter`,但首先,让我们来看看依赖项和另一个 `APIRouter`。 ## 依赖项 我们了解到我们将需要一些在应用程序的好几个地方所使用的依赖项。 因此,我们将它们放在它们自己的 `dependencies` 模块(`app/dependencies.py`)中。 现在我们将使用一个简单的依赖项来读取一个自定义的 `X-Token` 请求首部: ```Python hl_lines="1 4-6" title="app/dependencies.py" {!../../docs_src/bigger_applications/app/dependencies.py!} ``` /// tip 我们正在使用虚构的请求首部来简化此示例。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun May 11 13:37:26 GMT 2025 - 18.4K bytes - Click Count (0) -
src/archive/tar/strconv.go
func parsePAXRecord(s string) (k, v, r string, err error) { // The size field ends at the first space. nStr, rest, ok := strings.Cut(s, " ") if !ok { return "", "", s, ErrHeader } // Parse the first token as a decimal integer. n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int if perr != nil || n < 5 || n > int64(len(s)) { return "", "", s, ErrHeader }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Sep 08 17:08:20 GMT 2025 - 9.1K bytes - Click Count (0) -
docs/ru/docs/advanced/security/oauth2-scopes.md
Это тот же механизм, когда вы даёте разрешения при входе через 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) -
internal/config/notify/legacy.go
Key: target.NATSUserCredentials, Value: cfg.UserCredentials, }, config.KV{ Key: target.NATSPassword, Value: cfg.Password, }, config.KV{ Key: target.NATSToken, Value: cfg.Token, }, config.KV{ Key: target.NATSNKeySeed, Value: cfg.NKeySeed, }, config.KV{ Key: target.NATSCertAuthority, Value: cfg.CertAuthority, }, config.KV{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/cors.md
これを実現するには、バックエンドに「許可されたオリジン」のリストがなければなりません。 この場合、フロントエンドを正しく機能させるには、そのリストに `http://localhost:8080` を含める必要があります。 ## ワイルドカード リストを `"*"` (ワイルドカード) と宣言して、すべてを許可することもできます。 ただし、Bearer Tokenで使用されるような認証ヘッダーやCookieなどのクレデンシャル情報に関するものを除いて、特定の種類の通信のみが許可されます。 したがって、すべてを正しく機能させるために、許可されたオリジンの明示的な指定をお勧めします。 ## `CORSMiddleware` の使用 **FastAPI** アプリケーションでは `CORSMiddleware` を使用して、CORSに関する設定ができます。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
fun BuildType.paramsForBuildToolBuild( buildJvm: Jvm = BuildToolBuildJvm, os: Os, arch: Arch = Arch.AMD64, ) { params { param("env.BOT_TEAMCITY_GITHUB_TOKEN", "%github.bot-teamcity.token%") param("env.JAVA_HOME", javaHome(buildJvm, os, arch)) param("env.ANDROID_HOME", os.androidHome) param("env.ANDROID_SDK_ROOT", os.androidHome)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 15.6K bytes - Click Count (0) -
api/go1.9.txt
pkg encoding/base32, method (Encoding) WithPadding(int32) *Encoding pkg encoding/csv, type Reader struct, ReuseRecord bool pkg encoding/json, func Valid([]uint8) bool pkg go/ast, type TypeSpec struct, Assign token.Pos pkg go/types, func SizesFor(string, string) Sizes pkg go/types, method (*TypeName) IsAlias() bool pkg hash/fnv, func New128() hash.Hash pkg hash/fnv, func New128a() hash.Hash
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Click Count (0) -
docs/ru/docs/_llm-test.md
### abbr даёт полную расшифровку { #the-abbr-gives-a-full-phrase } * <abbr title="Getting Things Done – Как привести дела в порядок">GTD</abbr> * <abbr title="less than – меньше чем"><code>lt</code></abbr> * <abbr title="XML Web Token – XML веб‑токен">XWT</abbr> * <abbr title="Parallel Server Gateway Interface – Параллельный серверный интерфейс шлюза">PSGI</abbr> ### abbr даёт объяснение { #the-abbr-gives-an-explanation }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 17.5K bytes - Click Count (0) -
internal/event/target/kafka.go
}) } store.StreamItems(target.store, target, target.quitCh, target.loggerOnce) } return target, nil } func isKafkaConnErr(err error) bool { // Sarama opens the circuit breaker after 3 consecutive connection failures. return err == sarama.ErrLeaderNotAvailable || err.Error() == "circuit breaker is open"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
cmd/batch-handlers.go
req, err := http.NewRequestWithContext(ctx, http.MethodPost, endpoint, bytes.NewReader(buf)) if err != nil { return err } if token != "" { req.Header.Set("Authorization", token) } req.Header.Set("Content-Type", "application/json") clnt := http.Client{Transport: getRemoteInstanceTransport()} resp, err := clnt.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1)