Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for 62 (0.2 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    The `scopes` parameter receives a `dict` with each scope as a key and the description as the value:
    
    === "Python 3.10+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="63-66"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/security/oauth2-scopes.md

    Der `scopes`-Parameter erhält ein `dict` mit jedem Scope als Schlüssel und dessen Beschreibung als Wert:
    
    === "Python 3.10+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="62-65"
        {!> ../../../docs_src/security/tutorial005_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="63-66"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. docs/en/docs/img/deployment/https/https08.drawio

                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="917" y="754" as="sourcePoint"/>
                        </mxGeometry>
                    </mxCell>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 20.9K bytes
    - Viewed (0)
  4. docs/en/docs/img/deployment/https/https07.drawio

                        <mxGeometry relative="1" as="geometry">
                            <Array as="points"/>
                        </mxGeometry>
                    </mxCell>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  5. docs/en/docs/img/deployment/https/https06.drawio

                        <mxGeometry relative="1" as="geometry">
                            <Array as="points"/>
                        </mxGeometry>
                    </mxCell>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 17.1K bytes
    - Viewed (0)
  6. docs/en/docs/img/deployment/https/https.drawio

                        <mxGeometry relative="1" as="geometry">
                            <Array as="points">
                                <mxPoint x="920" y="770"/>
                                <mxPoint x="920" y="770"/>
                            </Array>
                        </mxGeometry>
                    </mxCell>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 25.7K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https05.drawio

                        <mxGeometry x="525" y="330" width="280" height="40" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 15.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        // idx = 7 -> :scheme: http
        bytesIn.writeByte(0x84) // == Indexed - Add ==
        // idx = 6 -> :path: /
        bytesIn.writeByte(0xbe) // == Indexed - Add ==
        // Indexed name (idx = 62) -> :authority: www.example.com
        bytesIn.writeByte(0x58) // == Literal indexed ==
        // Indexed name (idx = 24) -> cache-control
        bytesIn.writeByte(0x08) // Literal value (len = 8)
        bytesIn.writeUtf8("no-cache")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/security/oauth2-scopes.md

    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    下面,我们逐步说明修改的代码内容。
    
    ## OAuth2 安全方案
    
    第一个修改的地方是,使用两个作用域 `me` 和 `items ` 声明 OAuth2 安全方案。
    
    `scopes` 参数接收**字典**,键是作用域、值是作用域的描述:
    
    ```Python hl_lines="62-65"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    因为声明了作用域,所以登录或授权时会在 API 文档中显示。
    
    此处,选择给予访问权限的作用域: `me` 和 `items`。
    
    这也是使用脸书、谷歌、GitHub 登录时的授权机制。
    
    <img src="/img/tutorial/security/image11.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/response-model.md

    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    они не будут исключены из ответа.
    
    #### Если значение поля совпадает с его значением по умолчанию
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 30.5K bytes
    - Viewed (0)
Back to top