Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for refreshUrl (0.07 sec)

  1. fastapi/security/oauth2.py

                scopes = {}
            flows = OAuthFlowsModel(
                password=cast(
                    Any,
                    {
                        "tokenUrl": tokenUrl,
                        "refreshUrl": refreshUrl,
                        "scopes": scopes,
                    },
                )
            )
            super().__init__(
                flows=flows,
                scheme_name=scheme_name,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        scheme: str
    
    
    class HTTPBearer(HTTPBase):
        scheme: Literal["bearer"] = "bearer"
        bearerFormat: Optional[str] = None
    
    
    class OAuthFlow(BaseModelWithConfig):
        refreshUrl: Optional[str] = None
        scopes: dict[str, str] = {}
    
    
    class OAuthFlowImplicit(OAuthFlow):
        authorizationUrl: str
    
    
    class OAuthFlowPassword(OAuthFlow):
        tokenUrl: str
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/dataclasses.md

    8. Notice that this *path operation function* uses regular `def` instead of `async def`.
    
        As always, in FastAPI you can combine `def` and `async def` as needed.
    
        If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. docs/en/docs/features.md

    ### Just Modern Python { #just-modern-python }
    
    It's all based on standard **Python type** declarations (thanks to Pydantic). No new syntax to learn. Just standard modern Python.
    
    If you need a 2 minute refresher of how to use Python types (even if you don't use FastAPI), check the short tutorial: [Python Types](python-types.md){.internal-link target=_blank}.
    
    You write standard Python with types:
    
    ```Python
    from datetime import date
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    By declaring types for your variables, editors and tools can give you better support.
    
    This is just a **quick tutorial / refresher** about Python type hints. It covers only the minimum necessary to use them with **FastAPI**... which is actually very little.
    
    **FastAPI** is all based on these type hints, they give it many advantages and benefits.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    * 🐛 Fix truncating the model's description with form feed (`\f`) character for Pydantic V2. PR [#13698](https://github.com/fastapi/fastapi/pull/13698) by [@YuriiMotov](https://github.com/YuriiMotov).
    
    ### Refactors
    
    * ✨ Add `refreshUrl` parameter in `OAuth2PasswordBearer`. PR [#11460](https://github.com/fastapi/fastapi/pull/11460) by [@snosratiershad](https://github.com/snosratiershad).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top