Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for Script (0.28 sec)

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

    这样一来,窃贼就无法在其它应用中使用窃取的密码,要知道,很多用户在所有系统中都使用相同的密码,风险超大)。
    
    ## 安装 `passlib`
    
    Passlib 是处理密码哈希的 Python 包。
    
    它支持很多安全哈希算法及配套工具。
    
    本教程推荐的算法是 **Bcrypt**。
    
    因此,请先安装附带 Bcrypt 的 PassLib:
    
    <div class="termy">
    
    ```console
    $ pip install passlib[bcrypt]
    
    ---> 100%
    ```
    
    </div>
    
    !!! tip "提示"
    
        `passlib` 甚至可以读取 Django、Flask 的安全插件等工具创建的密码。
    
    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_src/security/tutorial005_py310.py

        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_an_py310.py

        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/generate-clients.md

    ⚫️ 💪 👀 💖 👉:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "scripts": {
        "generate-client": "openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios"
      },
      "author": "",
      "license": "",
      "devDependencies": {
        "@hey-api/openapi-ts": "^0.27.38",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. docs/en/mkdocs.yml

      - link: /zh-hant/
        name: zh-hant - 繁體中文
      - link: /em/
        name: 😉
    extra_css:
    - css/termynal.css
    - css/custom.css
    extra_javascript:
    - js/termynal.js
    - js/custom.js
    hooks:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/zh/docs/contributing.md

    === "Windows PowerShell"
    
        <div class="termy">
    
        ```console
        $ .\env\Scripts\Activate.ps1
        ```
    
        </div>
    
    === "Windows Bash"
    
        Or if you use Bash for Windows (e.g. <a href="https://gitforwindows.org/" class="external-link" target="_blank">Git Bash</a>):
    
        <div class="termy">
    
        ```console
        $ source ./env/Scripts/activate
        ```
    
        </div>
    
    要检查操作是否成功,运行:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 11:57:21 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/docker.md

    It also supports running <a href="https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#pre_start_path" class="external-link" target="_blank">**previous steps before starting**</a> with a script.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. docs/pt/docs/deployment/docker.md

    Há também suporte para executar <a href="https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#pre_start_path" class="external-link" target="_blank">**passos anteriores antes de iniciar**</a> com um script.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/security/oauth2-jwt.md

    Es unterstützt viele sichere Hashing-Algorithmen und Werkzeuge, um mit diesen zu arbeiten.
    
    Der empfohlene Algorithmus ist „Bcrypt“.
    
    Installieren Sie also PassLib mit Bcrypt:
    
    <div class="termy">
    
    ```console
    $ pip install "passlib[bcrypt]"
    
    ---> 100%
    ```
    
    </div>
    
    !!! tip "Tipp"
    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)
  10. docs/em/docs/tutorial/security/oauth2-jwt.md

    ## ❎ `passlib`
    
    🇸🇲 👑 🐍 📦 🍵 🔐#️⃣.
    
    ⚫️ 🐕‍🦺 📚 🔐 🔁 📊 &amp; 🚙 👷 ⏮️ 👫.
    
    👍 📊 "🐡".
    
    , ❎ 🇸🇲 ⏮️ 🐡:
    
    <div class="termy">
    
    ```console
    $ pip install "passlib[bcrypt]"
    
    ---> 100%
    ```
    
    </div>
    
    !!! tip
        ⏮️ `passlib`, 👆 💪 🔗 ⚫️ 💪 ✍ 🔐 ✍ **✳**, **🏺** 💂‍♂ 🔌-⚖️ 📚 🎏.
    
        , 👆 🔜 💪, 🖼, 💰 🎏 📊 ⚪️➡️ ✳ 🈸 💽 ⏮️ FastAPI 🈸. ⚖️ 📉 ↔ ✳ 🈸 ⚙️ 🎏 💽.
    
    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