Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for cookie (0.08 sec)

  1. docs/es/docs/tutorial/cookie-params.md

    # Parámetros de Cookie
    
    Puedes definir parámetros de Cookie de la misma manera que defines parámetros de `Query` y `Path`.
    
    ## Importar `Cookie`
    
    Primero importa `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3]*}
    
    ## Declarar parámetros de `Cookie`
    
    Luego declara los parámetros de cookie usando la misma estructura que con `Path` y `Query`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:33:43 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. fastapi/__init__.py

    from .exceptions import HTTPException as HTTPException
    from .exceptions import WebSocketException as WebSocketException
    from .param_functions import Body as Body
    from .param_functions import Cookie as Cookie
    from .param_functions import Depends as Depends
    from .param_functions import File as File
    from .param_functions import Form as Form
    from .param_functions import Header as Header
    from .param_functions import Path as Path
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:51:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/response-cookies.md

    또한 `Response`는 헤더와 쿠키를 설정하는 데 자주 사용되므로, **FastAPI**는 이를 `fastapi.Response`로도 제공합니다.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:32:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. docs/en/mkdocs.yml

        - tutorial/body-fields.md
        - tutorial/body-nested-models.md
        - tutorial/schema-extra-example.md
        - tutorial/extra-data-types.md
        - tutorial/cookie-params.md
        - tutorial/header-params.md
        - tutorial/cookie-param-models.md
        - tutorial/header-param-models.md
        - tutorial/response-model.md
        - tutorial/extra-models.md
        - tutorial/response-status-code.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, with OAuth2
                    or in a cookie).
                    """
                ),
            ] = True,
        ):
            self.model = OAuth2Model(
                flows=cast(OAuthFlowsModel, flows), description=description
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/websockets.md

    E todas elas usarão a mesma conexão WebSocket.
    
    ## Usando `Depends` e outros
    
    Nos endpoints WebSocket você pode importar do `fastapi` e usar:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Eles funcionam da mesma forma que para outros endpoints FastAPI/*operações de rota*:
    
    {*../../docs_src/websockets/tutorial002_an_py310.py hl[68:69,82]*}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. manifests/charts/base/files/crd-all.gen.yaml

                                      description: Hash based on HTTP cookie.
                                      properties:
                                        name:
                                          description: Name of the cookie.
                                          type: string
                                        path:
                                          description: Path to set for the cookie.
                                          type: string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

        elif field_info_in == params.ParamTypes.header:
            dependant.header_params.append(field)
        else:
            assert (
                field_info_in == params.ParamTypes.cookie
            ), f"non-body parameters must be in path, query, header or cookie: {field.name}"
            dependant.cookie_params.append(field)
    
    
    def is_coroutine_callable(call: Callable[..., Any]) -> bool:
        if inspect.isroutine(call):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    
    @app.get("/items/")
    async def read_items(cookies: Annotated[Cookies, Cookie()]):
        return cookies
    ```
    
    Read the new docs: [Cookie Parameter Models](https://fastapi.tiangolo.com/tutorial/cookie-param-models/).
    
    #### Forbid Extra Query (Cookie, Header) Parameters
    
    Use Pydantic models to restrict extra values for `Query` parameters (also applies to `Header` and `Cookie` parameters).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  10. docs/en/data/external_links.yml

    -python-framework-2n10 title: Introduction to the fastapi python framework - author: Nils de Bruin author_link: https://medium.com/@nilsdebruin link: https://medium.com/data-rebels/fastapi-how-to-add-basic-and-cookie-authentication-a45c85ef47d3 title: FastAPI — How to add basic and cookie authentication - author: Nils de Bruin author_link: https://medium.com/@nilsdebruin link: https://medium.com/data-rebels/fastapi-google-as-an-external-authentication-provider-3a527672cf33 title: FastAPI — Google...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:39:34 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top