Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for KSession (0.15 sec)

  1. fastapi/security/api_key.py

        from fastapi.security import APIKeyCookie
    
        app = FastAPI()
    
        cookie_scheme = APIKeyCookie(name="session")
    
    
        @app.get("/items/")
        async def read_items(session: str = Depends(cookie_scheme)):
            return {"session": session}
        ```
        """
    
        def __init__(
            self,
            *,
            name: Annotated[str, Doc("Cookie name.")],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top