Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 9000 (0.22 sec)

  1. docs/zh/docs/tutorial/security/oauth2-jwt.md

    为了避免 ID 冲突,在给用户创建 JWT 令牌时,可以为 `sub` 键的值加上前缀,例如 `username:`。因此,在本例中,`sub` 的值可以是:`username:johndoe`。
    
    注意,划重点,`sub` 键在整个应用中应该只有一个唯一的标识符,而且应该是字符串。
    
    ## 检查
    
    运行服务器并访问文档: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>。
    
    可以看到如下用户界面:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/security/image07.png">
    
    用与上一章同样的方式实现应用授权。
    
    使用如下凭证:
    
    用户名: `johndoe` 密码: `secret`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

    ## Check it
    
    Run the server and go to the docs: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    You'll see the user interface like:
    
    <img src="/img/tutorial/security/image07.png">
    
    Authorize the application the same way as before.
    
    Using the credentials:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/security/oauth2-jwt.md

    覚えておくべき重要なことは、`sub`キーはアプリケーション全体で一意の識別子を持ち、文字列である必要があるということです。
    
    ## 確認
    
    サーバーを実行し、ドキュメントに移動します:<a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>
    
    次のようなユーザーインターフェイスが表示されます:
    
    <img src="/img/tutorial/security/image07.png">
    
    前回と同じ方法でアプリケーションの認可を行います。
    
    次の認証情報を使用します:
    
    Username: `johndoe`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/oauth2-jwt.md

    ## Es testen
    
    Führen Sie den Server aus und gehen Sie zur Dokumentation: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Die Benutzeroberfläche sieht wie folgt aus:
    
    <img src="/img/tutorial/security/image07.png">
    
    Melden Sie sich bei der Anwendung auf die gleiche Weise wie zuvor an.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:06 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/security/oauth2-jwt.md

    ⚠ 👜 ✔️ 🤯 👈 `sub` 🔑 🔜 ✔️ 😍 🆔 🤭 🎂 🈸, &amp; ⚫️ 🔜 🎻.
    
    ## ✅ ⚫️
    
    🏃 💽 &amp; 🚶 🩺: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    👆 🔜 👀 👩‍💻 🔢 💖:
    
    <img src="/img/tutorial/security/image07.png">
    
    ✔ 🈸 🎏 🌌 ⏭.
    
    ⚙️ 🎓:
    
    🆔: `johndoe`
    🔐: `secret`
    
    !!! check
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top