Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,756 for securityv1 (0.4 sec)

  1. docs/en/docs/advanced/security/index.md

    # Advanced Security
    
    ## Additional Features
    
    There are some extra features to handle security apart from the ones covered in the [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    !!! tip
        The next sections are **not necessarily "advanced"**.
    
        And it's possible that for your use case, the solution is in one of them.
    
    ## Read the Tutorial first
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 633 bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/simple-oauth2.md

    === "Python 3.10+"
    
        ```Python hl_lines="4  78"
        {!> ../../../docs_src/security/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  78"
        {!> ../../../docs_src/security/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  79"
        {!> ../../../docs_src/security/tutorial003_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:08:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. tests/test_security_http_base.py

    from fastapi import FastAPI, Security
    from fastapi.security.http import HTTPAuthorizationCredentials, HTTPBase
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPBase(scheme="Other")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

        {!> ../../../docs_src/security/tutorial004_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="8  49  56-57  60-61  70-76"
        {!> ../../../docs_src/security/tutorial004_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="8  50  57-58  61-62  71-77"
        {!> ../../../docs_src/security/tutorial004_an.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/security/get-current-user.md

        {!> ../../../docs_src/security/tutorial002_py310.py!}
        ```
    
    ## 💉 ⏮️ 👩‍💻
    
    🔜 👥 💪 ⚙️ 🎏 `Depends` ⏮️ 👆 `get_current_user` *➡ 🛠️*:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="31"
        {!> ../../../docs_src/security/tutorial002.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="29"
        {!> ../../../docs_src/security/tutorial002_py310.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/SECURITY_CONTACTS

    # Defined below are the security contacts for this repo.
    #
    # They are the contact point for the Product Security Committee to reach out
    # to for triaging and handling of incoming issues.
    #
    # The below names agree to abide by the
    # [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy)
    # and will be removed and replaced if they violate that agreement.
    #
    # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 09:52:35 UTC 2019
    - 563 bytes
    - Viewed (0)
  7. docs/en/docs/reference/dependencies.md

    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  8. tests/test_security_oauth2_password_bearer_optional_description.py

    from fastapi import FastAPI, Security
    from fastapi.security import OAuth2PasswordBearer
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="/token",
        description="OAuth2PasswordBearer security scheme",
        auto_error=False,
    )
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        if token is None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. tests/test_security_openid_connect_description.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security.open_id_connect_url import OpenIdConnect
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oid = OpenIdConnect(
        openIdConnectUrl="/openid", description="OpenIdConnect security scheme"
    )
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. CODEOWNERS

    /pilot/pkg/security/                                             @istio/wg-security-maintainers
    /pilot/pkg/config/                                               @istio/wg-networking-maintainers
    /pilot/pkg/networking/plugin/authn/                              @istio/wg-security-maintainers
    /pilot/pkg/networking/plugin/authz/                              @istio/wg-security-maintainers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 19:22:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top