Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for buyers (0.15 sec)

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

    第一个函数用于校验接收的密码是否匹配存储的哈希值。
    
    第三个函数用于身份验证,并返回用户。
    
    ```Python hl_lines="7  48  55-56  59-60  69-75"
    {!../../../docs_src/security/tutorial004.py!}
    ```
    
    !!! note "笔记"
    
        查看新的(伪)数据库 `fake_users_db`,就能看到哈希后的密码:`"$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW"`。
    
    ## 处理 JWT 令牌
    
    导入已安装的模块。
    
    创建用于 JWT 令牌签名的随机密钥。
    
    使用以下命令,生成安全的随机密钥:
    
    <div class="termy">
    
    ```console
    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/de/docs/tutorial/security/oauth2-jwt.md

        ```Python hl_lines="7  48  55-56  59-60  69-75"
        {!> ../../../docs_src/security/tutorial004.py!}
        ```
    
    !!! note "Hinweis"
        Wenn Sie sich die neue (gefakte) Datenbank `fake_users_db` anschauen, sehen Sie, wie das gehashte Passwort jetzt aussieht: `"$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW"`.
    
    ## JWT-Token verarbeiten
    
    Importieren Sie die installierten Module.
    
    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)
  3. docs/em/docs/tutorial/security/oauth2-jwt.md

        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="6  47  54-55  58-59  68-74"
        {!> ../../../docs_src/security/tutorial004_py310.py!}
        ```
    
    !!! note
        🚥 👆 ✅ 🆕 (❌) 💽 `fake_users_db`, 👆 🔜 👀 ❔ #️⃣ 🔐 👀 💖 🔜: `"$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW"`.
    
    ## 🍵 🥙 🤝
    
    🗄 🕹 ❎.
    
    ✍ 🎲 ㊙ 🔑 👈 🔜 ⚙️ 🛑 🥙 🤝.
    
    🏗 🔐 🎲 ㊙ 🔑 ⚙️ 📋:
    
    <div class="termy">
    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)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    But you cannot convert from the gibberish back to the password.
    
    ### Why use password hashing
    
    If your database is stolen, the thief won't have your users' plaintext passwords, only the hashes.
    
    So, the thief won't be able to try to use that password in another system (as many users use the same password everywhere, this would be dangerous).
    
    ## Install `passlib`
    
    PassLib is a great Python package to handle password hashes.
    
    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)
  5. docs/ja/docs/tutorial/security/oauth2-jwt.md

    さらに、ユーザーを認証して返す関数も作成します。
    
    ```Python hl_lines="7  48  55-56  59-60  69-75"
    {!../../../docs_src/security/tutorial004.py!}
    ```
    
    !!! note "備考"
        新しい(偽の)データベース`fake_users_db`を確認すると、ハッシュ化されたパスワードが次のようになっていることがわかります:`"$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW"`
    
    ## JWTトークンの取り扱い
    
    インストールした複数のモジュールをインポートします。
    
    JWTトークンの署名に使用されるランダムな秘密鍵を生成します。
    
    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)
Back to top