Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for tokenUrl (0.13 sec)

  1. docs/em/docs/tutorial/security/first-steps.md

    👈 💼, **FastAPI** 🚚 👆 ⏮️ 🧰 🏗 ⚫️.
    
    ///
    
    🕐❔ 👥 ✍ 👐 `OAuth2PasswordBearer` 🎓 👥 🚶‍♀️ `tokenUrl` 🔢. 👉 🔢 🔌 📛 👈 👩‍💻 (🕸 🏃 👩‍💻 🖥) 🔜 ⚙️ 📨 `username` & `password` ✔ 🤚 🤝.
    
    ```Python hl_lines="6"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    /// tip
    
    📥 `tokenUrl="token"` 🔗 ⚖ 📛 `token` 👈 👥 🚫 ✍. ⚫️ ⚖ 📛, ⚫️ 🌓 `./token`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/security/first-steps.md

    Вскоре мы создадим и саму операцию пути.
    
    /// info | "Дополнительная информация"
    
    Если вы очень строгий "питонист", то вам может не понравиться стиль названия параметра `tokenUrl` вместо `token_url`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/first-steps.md

    ```Python hl_lines="6"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    /// tip | "Dica"
    
    
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/first-steps.md

    Wir werden demnächst auch die eigentliche Pfadoperation erstellen.
    
    /// info
    
    Wenn Sie ein sehr strenger „Pythonista“ sind, missfällt Ihnen möglicherweise die Schreibweise des Parameternamens `tokenUrl` anstelle von `token_url`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/first-steps.md

    甚至可以说,它是适用于绝大多数用例的最佳方案,除非您是 OAuth2 的专家,知道为什么其它方案更合适。
    
    本例中,**FastAPI** 还提供了构建工具。
    
    ///
    
    创建 `OAuth2PasswordBearer` 的类实例时,要传递 `tokenUrl` 参数。该参数包含客户端(用户浏览器中运行的前端) 的 URL,用于发送 `username` 与 `password`,并获取令牌。
    
    ```Python hl_lines="6"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    /// tip | "提示"
    
    在此,`tokenUrl="token"` 指向的是暂未创建的相对 URL `token`。这个相对 URL 相当于 `./token`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/first-steps.md

    We will soon also create the actual path operation.
    
    /// info
    
    If you are a very strict "Pythonista" you might dislike the style of the parameter name `tokenUrl` instead of `token_url`.
    
    That's because it is using the same name as in the OpenAPI spec. So that if you need to investigate more about any of these security schemes you can just copy and paste it to find more information about it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. fastapi/security/oauth2.py

                    """
                ),
            ] = True,
        ):
            if not scopes:
                scopes = {}
            flows = OAuthFlowsModel(
                password=cast(Any, {"tokenUrl": tokenUrl, "scopes": scopes})
            )
            super().__init__(
                flows=flows,
                scheme_name=scheme_name,
                description=description,
                auto_error=auto_error,
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/security/first-steps.md

    その場合、**FastAPI**はそれを構築するためのツールも提供します。
    
    ///
    
    `OAuth2PasswordBearer` クラスのインスタンスを作成する時に、パラメーター`tokenUrl`を渡します。このパラメーターには、クライアント (ユーザーのブラウザで動作するフロントエンド) がトークンを取得するために`ユーザー名`と`パスワード`を送信するURLを指定します。
    
    ```Python hl_lines="6"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    /// tip | "豆知識"
    
    ここで、`tokenUrl="token"`は、まだ作成していない相対URL`token`を指します。相対URLなので、`./token`と同じです。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<List<String>[]> tokenL = new TypeToken<List<String>[]>() {};
        assertTrue(tokenL.isSupertypeOf(StringList[].class));
        assertFalse(tokenL.isSupertypeOf(List[].class));
      }
    
      public void testAssignableParameterizedTypeToType() {
        TypeToken<List<String>> tokenL = new TypeToken<List<String>>() {};
        assertTrue(tokenL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<List<String>[]> tokenL = new TypeToken<List<String>[]>() {};
        assertTrue(tokenL.isSupertypeOf(StringList[].class));
        assertFalse(tokenL.isSupertypeOf(List[].class));
      }
    
      public void testAssignableParameterizedTypeToType() {
        TypeToken<List<String>> tokenL = new TypeToken<List<String>>() {};
        assertTrue(tokenL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top