Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 319 for security (0.16 sec)

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

    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            尽可能选择使用 `Annotated` 的版本。
    
        ```Python
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    ## 运行
    
    !!! info "说明"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/istio-service-dashboard.json

              },
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 111.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

    
    @needs_py39
    def test_verify_password():
        from docs_src.security.tutorial005_an_py39 import fake_users_db, verify_password
    
        assert verify_password("secret", fake_users_db["johndoe"]["hashed_password"])
    
    
    @needs_py39
    def test_get_password_hash():
        from docs_src.security.tutorial005_an_py39 import get_password_hash
    
        assert get_password_hash("secretalice")
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial005_py310.py

    
    @needs_py310
    def test_verify_password():
        from docs_src.security.tutorial005_py310 import fake_users_db, verify_password
    
        assert verify_password("secret", fake_users_db["johndoe"]["hashed_password"])
    
    
    @needs_py310
    def test_get_password_hash():
        from docs_src.security.tutorial005_py310 import get_password_hash
    
        assert get_password_hash("secretalice")
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  5. istioctl/pkg/internaldebug/internal-debug.go

      # Retrieve sync diff for a single Envoy and Istiod
      istioctl x internal-debug syncz istio-egressgateway-59585c5b9c-ndc59.istio-system
    
      # SECURITY OPTIONS
    
      # Retrieve syncz debug information directly from the control plane, using token security
      # (This is the usual way to get the debug information with an out-of-cluster control plane.)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. istioctl/pkg/proxystatus/proxystatus.go

      # SECURITY OPTIONS
    
      # Retrieve proxy status information directly from the control plane, using token security
      # (This is the usual way to get the proxy-status with an out-of-cluster control plane.)
      istioctl ps --xds-address istio.cloudprovider.example.com:15012
    
      # Retrieve proxy status information via Kubernetes config, using token security
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/security/simple-oauth2.md

    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="4  76"
        {!> ../../../docs_src/security/tutorial003.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="2  74"
        {!> ../../../docs_src/security/tutorial003_py310.py!}
        ```
    
    `OAuth2PasswordRequestForm` 🎓 🔗 👈 📣 📨 💪 ⏮️:
    
    *  `username`.
    *  `password`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. docs_src/security/tutorial007_an_py39.py

    import secrets
    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
    app = FastAPI()
    
    security = HTTPBasic()
    
    
    def get_current_username(
        credentials: Annotated[HTTPBasicCredentials, Depends(security)],
    ):
        current_username_bytes = credentials.username.encode("utf8")
        correct_username_bytes = b"stanleyjobson"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/security/index.md

    # 🏧 💂‍♂
    
    ## 🌖 ⚒
    
    📤 ➕ ⚒ 🍵 💂‍♂ ↖️ ⚪️➡️ 🕐 📔 [🔰 - 👩‍💻 🦮: 💂‍♂](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    !!! tip
        ⏭ 📄 **🚫 🎯 "🏧"**.
    
         & ⚫️ 💪 👈 👆 ⚙️ 💼, ⚗ 1️⃣ 👫.
    
    ## ✍ 🔰 🥇
    
    ⏭ 📄 🤔 👆 ⏪ ✍ 👑 [🔰 - 👩‍💻 🦮: 💂‍♂](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 515 bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/security/index.md

    # 高级安全
    
    ## 附加特性
    
    除 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank} 中涵盖的功能之外,还有一些额外的功能来处理安全性.
    
    !!! tip "小贴士"
        接下来的章节 **并不一定是 "高级的"**.
    
        而且对于你的使用场景来说,解决方案很可能就在其中。
    
    ## 先阅读教程
    
    接下来的部分假设你已经阅读了主要的 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 607 bytes
    - Viewed (0)
Back to top