Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for execute (0.16 sec)

  1. docs/zh/docs/advanced/security/http-basic-auth.md

    * 在*路径操作*的依赖项中使用 `security`
    * 返回类型为 `HTTPBasicCredentials` 的对象:
        * 包含发送的 `username` 与 `password`
    
    ```Python hl_lines="2  6  10"
    {!../../../docs_src/security/tutorial006.py!}
    ```
    
    第一次打开 URL(或在 API 文档中点击 **Execute** 按钮)时,浏览器要求输入用户名与密码:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## 检查用户名
    
    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:48 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/security/http-basic-auth.md

        ```Python hl_lines="2  6  10"
        {!> ../../../docs_src/security/tutorial006.py!}
        ```
    
    Wenn Sie versuchen, die URL zum ersten Mal zu öffnen (oder in der Dokumentation auf den Button „Execute“ zu klicken), wird der Browser Sie nach Ihrem Benutzernamen und Passwort fragen:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## Den Benutzernamen überprüfen
    
    Hier ist ein vollständigeres Beispiel.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:08 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/http-basic-auth.md

            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="2  6  10"
        {!> ../../../docs_src/security/tutorial006.py!}
        ```
    
    When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## Check the username
    
    Here's a more complete example.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top