Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 459 for breaker (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

       * returned either this request, or the request upon which this request was derived with
       * [newBuilder].
       *
       * @suppress this method breaks Dokka! https://github.com/Kotlin/dokka/issues/2473
       */
      fun tag(): Any? = tag<Any>()
    
      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that
       * key.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  2. docs/de/docs/tutorial/security/first-steps.md

        * Um sich also bei unserer API zu authentifizieren, sendet es einen `Authorization`-Header mit dem Wert `Bearer ` plus dem Token.
        * Wenn der Token `foobar` enthielte, wäre der Inhalt des `Authorization`-Headers: `Bearer foobar`.
    
    ## **FastAPI**s `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/security/simple-oauth2.md

    /// info | Bilgi
    
    Burada `Bearer` değerine sahip ek `WWW-Authenticate` header’ını döndürmemiz de spesifikasyonun bir parçasıdır.
    
    Herhangi bir HTTP (hata) durum kodu 401 "UNAUTHORIZED", ayrıca `WWW-Authenticate` header’ı da döndürmelidir.
    
    Bearer token’lar (bizim durumumuz) için bu header’ın değeri `Bearer` olmalıdır.
    
    Aslında bu ekstra header’ı atlayabilirsiniz, yine de çalışır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py310.py hl[10] *}
    
    ## 숫자 검증: 부동소수, 크거나 및 작거나 { #number-validations-floats-greater-than-and-less-than }
    
    숫자 검증은 `float` 값에도 동작합니다.
    
    여기에서 <abbr title="greater than - 보다 큼"><code>gt</code></abbr>를, <abbr title="greater than or equal - 크거나 같음"><code>ge</code></abbr>뿐만 아니라 선언할 수 있다는 점이 중요해집니다. 예를 들어 값이 `1`보다 작더라도, 반드시 `0`보다 커야 한다고 요구할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ## 数值校验:大于等于 { #number-validations-greater-than-or-equal }
    
    使用 `Query` 和 `Path`(以及你稍后会看到的其他类)你可以声明数值约束。
    
    在这里,使用 `ge=1` 后,`item_id` 必须是一个整数,值要「`g`reater than or `e`qual」1。
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}
    
    ## 数值校验:大于和小于等于 { #number-validations-greater-than-and-less-than-or-equal }
    
    同样适用于:
    
    * `gt`:大于(`g`reater `t`han)
    * `le`:小于等于(`l`ess than or `e`qual)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. tests/test_top_level_security_scheme_in_openapi.py

    @app.get("/", dependencies=[Depends(bearer_scheme)])
    async def get_root():
        return {"message": "Hello, World!"}
    
    
    client = TestClient(app)
    
    
    def test_get_root():
        response = client.get("/", headers={"Authorization": "Bearer token"})
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Hello, World!"}
    
    
    def test_get_root_no_token():
        response = client.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/security/simple-oauth2.md

    因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | 信息
    
    此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。
    
    任何 401“UNAUTHORIZED”HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
    
    本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。
    
    实际上,忽略这个附加响应头,也不会有什么问题。
    
    之所以在此提供这个附加响应头,是为了符合规范的要求。
    
    说不定什么时候,就有工具用得上它,而且,开发者或用户也可能用得上。
    
    这就是遵循标准的好处...
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                // TODO: This breaks the provider
                options.addStringOption("-add-stylesheet", javadocs.getJavadocCss().get().getAsFile().getAbsolutePath());
                options.addStringOption("source", "8");
                options.tags("apiNote:a:API Note:", "implSpec:a:Implementation Requirements:", "implNote:a:Implementation Note:");
                // TODO: This breaks the provider
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/security/first-steps.md

        - 但該端點需要驗證。
        - 因此為了向 API 驗證,請求會帶上一個 `Authorization` 標頭,值為 `Bearer ` 加上 token。
        - 例如 token 是 `foobar`,則 `Authorization` 標頭內容為:`Bearer foobar`。
    
    ## FastAPI 的 `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    FastAPI 提供多層抽象的工具來實作這些安全機制。
    
    本例將使用 OAuth2 的 Password 流程,並以 Bearer token 進行驗證;我們會用 `OAuth2PasswordBearer` 類別來完成。
    
    /// info
    
    「Bearer」token 不是唯一選項。
    
    但對本例最合適。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/security/first-steps.md

        * 因此,为了与我们的 API 进行身份验证,它会发送一个 `Authorization` 请求头,值为 `Bearer ` 加上令牌。
        * 如果令牌内容是 `foobar`,`Authorization` 请求头的内容就是:`Bearer foobar`。
    
    ## **FastAPI** 的 `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    **FastAPI** 在不同抽象层级提供了多种安全工具。
    
    本示例将使用 **OAuth2** 的 **Password** 流程并配合 **Bearer** 令牌,通过 `OAuth2PasswordBearer` 类来实现。
    
    /// info | 信息
    
    “Bearer” 令牌并非唯一选项。
    
    但它非常适合我们的用例。
    
    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)
Back to Top