Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 126 for fulu (0.14 sec)

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

    And you want to have a way for the frontend to authenticate with the backend, using a **username** and **password**.
    
    We can use **OAuth2** to build that with **FastAPI**.
    
    But let's save you the time of reading the full long specification just to find those little pieces of information you need.
    
    Let's use the tools provided by **FastAPI** to handle security.
    
    ## How it looks
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/sql-databases.md

    โช, ๐Ÿ‘† ๐Ÿญ ๐Ÿˆธ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’š โš™๏ธ ๐Ÿ’ฝ ๐Ÿ’ฝ ๐Ÿ’– **โœณ**.
    
    !!! tip
        ๐Ÿ“ค ๐Ÿ›‚ ๐Ÿ— ๐Ÿš‚ โฎ๏ธ **FastAPI** &amp; **โœณ**, ๐ŸŒ โš“๏ธ ๐Ÿ”› **โ˜**, ๐Ÿ”Œ ๐Ÿ•ธ &amp; ๐ŸŒ– ๐Ÿงฐ: <a href="https://github.com/tiangolo/full-stack-fastapi-postgresql" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-fastapi-postgresql</a>
    
    !!! note
        ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ“š ๐Ÿ“Ÿ ๐Ÿฉ `SQLAlchemy` ๐Ÿ“Ÿ ๐Ÿ‘† ๐Ÿ”œ โš™๏ธ โฎ๏ธ ๐Ÿ™† ๐Ÿ› ๏ธ.
    
         **FastAPI** ๐ŸŽฏ ๐Ÿ“Ÿ ๐Ÿคช ๐Ÿ•ง.
    
    ## ๐Ÿœ
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image08.png">
    
    Call the endpoint `/users/me/`, you will get the response as:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false
    }
    ```
    
    <img src="/img/tutorial/security/image09.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image08.png">
    
    ใ‚จใƒณใƒ‰ใƒใ‚คใƒณใƒˆ`/users/me/`ใ‚’ๅ‘ผใณๅ‡บใ™ใจใ€ๆฌกใฎใ‚ˆใ†ใชใƒฌใ‚นใƒใƒณใ‚นใŒๅพ—ใ‚‰ใ‚Œใพใ™๏ผš
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false
    }
    ```
    
    <img src="/img/tutorial/security/image09.png">
    
    ้–‹็™บ่€…ใƒ„ใƒผใƒซใ‚’้–‹ใใจใ€้€ไฟกใ•ใ‚Œใ‚‹ใƒ‡ใƒผใ‚ฟใซใฏใƒˆใƒผใ‚ฏใƒณใ ใ‘ใŒๅซใพใ‚ŒใฆใŠใ‚Šใ€ใƒ‘ใ‚นใƒฏใƒผใƒ‰ใฏใƒฆใƒผใ‚ถใƒผใ‚’่ช่จผใ—ใฆใ‚ขใ‚ฏใ‚ปใ‚นใƒˆใƒผใ‚ฏใƒณใ‚’ๅ–ๅพ—ใ™ใ‚‹ๆœ€ๅˆใฎใƒชใ‚ฏใ‚จใ‚นใƒˆใงใฎใฟ้€ไฟกใ•ใ‚Œใ€ใใฎๅพŒใฏ้€ไฟกใ•ใ‚Œใชใ„ใ“ใจใŒใ‚ใ‹ใ‚Šใพใ™ใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * Add GitHub social preview images to git. PR [#752](https://github.com/tiangolo/fastapi/pull/752).
    * Update PyPI "trove classifiers". PR [#751](https://github.com/tiangolo/fastapi/pull/751).
    * Add full support for Python 3.8. Enable Python 3.8 in full in Travis. PR [749](https://github.com/tiangolo/fastapi/pull/749).
    * Update "new issue" templates. PR [#749](https://github.com/tiangolo/fastapi/pull/749).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  6. docs_src/python_types/tutorial002.py

    def get_full_name(first_name: str, last_name: str):
        full_name = first_name.title() + " " + last_name.title()
        return full_name
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 172 bytes
    - Viewed (0)
  7. docs/en/docs/project-generation.md

    # Full Stack FastAPI Template
    
    Templates, while typically come with a specific setup, are designed to be flexible and customizable. This allows you to modify and adapt them to your project's requirements, making them an excellent starting point. ๐Ÿ
    
    You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 21:12:21 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs_src/response_model/tutorial003.py

    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user: UserIn) -> Any:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 450 bytes
    - Viewed (0)
  9. docs_src/security/tutorial003.py

    from pydantic import BaseModel
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret2",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  10. docs_src/security/tutorial002_an_py310.py

    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 761 bytes
    - Viewed (0)
Back to top