Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for dhangar (0.1 sec)

  1. docs/de/docs/tutorial/response-model.md

    Aber wenn wir dasselbe Modell für eine andere *Pfadoperation* verwenden, könnten wir das Passwort dieses Benutzers zu jedem Client schicken.
    
    !!! danger "Gefahr"
        Speichern Sie niemals das Klartext-Passwort eines Benutzers, oder versenden Sie es in einer Response wie dieser, wenn Sie sich nicht der resultierenden Gefahren bewusst sind und nicht wissen, was Sie tun.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/extra-models.md

    # モデル - より詳しく
    
    先ほどの例に続き、複数の関連モデルを持つことが一般的です。
    
    これはユーザーモデルの場合は特にそうです。なぜなら:
    
    * **入力モデル** にはパスワードが必要です。
    * **出力モデル**はパスワードをもつべきではありません。
    * **データベースモデル**はおそらくハッシュ化されたパスワードが必要になるでしょう。
    
    !!! danger "危険"
        ユーザーの平文のパスワードは絶対に保存しないでください。常に認証に利用可能な「安全なハッシュ」を保存してください。
    
        知らない方は、[セキュリティの章](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}で「パスワードハッシュ」とは何かを学ぶことができます。
    
    ## 複数のモデル
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 15:36:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. docs/em/docs/how-to/custom-request-and-route.md

    # 🛃 📨 & APIRoute 🎓
    
    💼, 👆 5️⃣📆 💚 🔐 ⚛ ⚙️ `Request` & `APIRoute` 🎓.
    
    🎯, 👉 5️⃣📆 👍 🎛 ⚛ 🛠️.
    
    🖼, 🚥 👆 💚 ✍ ⚖️ 🔬 📨 💪 ⏭ ⚫️ 🛠️ 👆 🈸.
    
    !!! danger
        👉 "🏧" ⚒.
    
        🚥 👆 ▶️ ⏮️ **FastAPI** 👆 💪 💚 🚶 👉 📄.
    
    ## ⚙️ 💼
    
    ⚙️ 💼 🔌:
    
    * 🏭 🚫-🎻 📨 💪 🎻 (✅ <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * 🗜 🗜-🗜 📨 💪.
    * 🔁 🚨 🌐 📨 💪.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/security/oauth2-scopes.md

    ## 🥙 🤝 ⏮️ ↔
    
    🔜, 🔀 🤝 *➡ 🛠️* 📨 ↔ 📨.
    
    👥 ⚙️ 🎏 `OAuth2PasswordRequestForm`. ⚫️ 🔌 🏠 `scopes` ⏮️ `list` `str`, ⏮️ 🔠 ↔ ⚫️ 📨 📨.
    
    &amp; 👥 📨 ↔ 🍕 🥙 🤝.
    
    !!! danger
        🦁, 📥 👥 ❎ ↔ 📨 🔗 🤝.
    
        ✋️ 👆 🈸, 💂‍♂, 👆 🔜 ⚒ 💭 👆 🕴 🚮 ↔ 👈 👩‍💻 🤙 💪 ✔️, ⚖️ 🕐 👆 ✔️ 🔁.
    
    ```Python hl_lines="155"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    ## 📣 ↔ *➡ 🛠️* &amp; 🔗
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 21:21:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/response-model.md

    ```
    
    이제 브라우저가 비밀번호로 사용자를 만들 때마다 API는 응답으로 동일한 비밀번호를 반환합니다.
    
    이 경우, 사용자가 스스로 비밀번호를 발신했기 때문에 문제가 되지 않을 수 있습니다.
    
    그러나 동일한 모델을 다른 *경로 작동*에서 사용할 경우, 모든 클라이언트에게 사용자의 비밀번호를 발신할 수 있습니다.
    
    !!! danger "위험"
        절대로 사용자의 평문 비밀번호를 저장하거나 응답으로 발신하지 마십시오.
    
    ## 출력 모델 추가
    
    대신 평문 비밀번호로 입력 모델을 만들고 해당 비밀번호 없이 출력 모델을 만들 수 있습니다:
    
    ```Python hl_lines="9  11  16"
    {!../../../docs_src/response_model/tutorial003.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    In particular, this may be a good alternative to logic in a middleware.
    
    For example, if you want to read or manipulate the request body before it is processed by your application.
    
    !!! danger
        This is an "advanced" feature.
    
        If you are just starting with **FastAPI** you might want to skip this section.
    
    ## Use cases
    
    Some use cases include:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/response-model.md

    ```
    
    これで、ブラウザがパスワードを使ってユーザーを作成する際に、APIがレスポンスで同じパスワードを返すようになりました。
    
    この場合、ユーザー自身がパスワードを送信しているので問題ないかもしれません。
    
    しかし、同じモデルを別の*path operation*に使用すると、すべてのクライアントにユーザーのパスワードを送信してしまうことになります。
    
    !!! danger "危険"
        ユーザーの平文のパスワードを保存したり、レスポンスで送信したりすることは絶対にしないでください。
    
    ## 出力モデルの追加
    
    代わりに、平文のパスワードを持つ入力モデルと、パスワードを持たない出力モデルを作成することができます:
    
    ```Python hl_lines="9 11 16"
    {!../../../docs_src/response_model/tutorial003.py!}
    ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/response-model.md

    In this case, it might not be a problem, because it's the same user sending the password.
    
    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    !!! danger
        Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing.
    
    ## Add an output model
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## JWT 令牌作用域
    
    现在,修改令牌*路径操作*,返回请求的作用域。
    
    此处仍然使用 `OAuth2PasswordRequestForm`。它包含类型为**字符串列表**的 `scopes` 属性,且`scopes` 属性中包含要在请求里接收的每个作用域。
    
    这样,返回的 JWT 令牌中就包含了作用域。
    
    !!! danger "危险"
    
        为了简明起见,本例把接收的作用域直接添加到了令牌里。
    
        但在您的应用中,为了安全,应该只把作用域添加到确实需要作用域的用户,或预定义的用户。
    
    ```Python hl_lines="153"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    ## 在*路径操作*与依赖项中声明作用域
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:43:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/fr/docs/python-types.md

    Mais malheureusement, rien d'utile n'en résulte :
    
    <img src="/img/python-types/image01.png">
    
    ### Ajouter des types
    
    Modifions une seule ligne de la version précédente.
    
    Nous allons changer seulement cet extrait, les paramètres de la fonction, de :
    
    
    ```Python
        first_name, last_name
    ```
    
    à :
    
    ```Python
        first_name: str, last_name: str
    ```
    
    C'est tout.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top