Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 119 for username (0.16 sec)

  1. docs/em/docs/tutorial/security/simple-oauth2.md

    # ๐Ÿ™… Oauth2๏ธโƒฃ โฎ๏ธ ๐Ÿ” & ๐Ÿ“จ
    
    ๐Ÿ”œ โžก๏ธ ๐Ÿ— โšช๏ธโžก๏ธ โฎ๏ธ ๐Ÿ“ƒ & ๐Ÿšฎ โŒ ๐Ÿ• โœ”๏ธ ๐Ÿ ๐Ÿ’‚โ€โ™‚ ๐Ÿ’ง.
    
    ## ๐Ÿคš `username` & `password`
    
    ๐Ÿ‘ฅ ๐Ÿ”œ โš™๏ธ **FastAPI** ๐Ÿ’‚โ€โ™‚ ๐Ÿš™ ๐Ÿคš `username` & `password`.
    
    Oauth2๏ธโƒฃ โœ” ๐Ÿ‘ˆ ๐Ÿ•โ” โš™๏ธ "๐Ÿ” ๐Ÿ’ง" (๐Ÿ‘ˆ ๐Ÿ‘ฅ โš™๏ธ) ๐Ÿ‘ฉโ€๐Ÿ’ป/๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”œ ๐Ÿ“จ `username` & `password` ๐Ÿ‘ ๐Ÿ“จ ๐Ÿ’ฝ.
    
    & ๐Ÿ”Œ ๐Ÿ’ฌ ๐Ÿ‘ˆ ๐Ÿ‘ โœ”๏ธ ๐ŸŒŸ ๐Ÿ’– ๐Ÿ‘ˆ. `user-name` โš–๏ธ `email` ๐Ÿšซ๐Ÿ”œ ๐Ÿ‘ท.
    
    โœ‹๏ธ ๐Ÿšซ ๐Ÿ˜Ÿ, ๐Ÿ‘† ๐Ÿ’ช ๐ŸŽฆ โšซ๏ธ ๐Ÿ‘† ๐ŸŽ‹ ๐Ÿ‘† ๐Ÿ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ•ธ.
    
    & ๐Ÿ‘† ๐Ÿ’ฝ ๐Ÿท ๐Ÿ’ช โš™๏ธ ๐Ÿ™† ๐ŸŽ ๐Ÿ“› ๐Ÿ‘† ๐Ÿ’š.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

                "X-Token": "fake-super-secret-token",
                "X-Key": "fake-super-secret-key",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.4K bytes
    - Viewed (2)
  5. docs/en/docs/tutorial/security/first-steps.md

    So, let's review it from that simplified point of view:
    
    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    * The frontend (running in the user's browser) sends that `username` and `password` to a specific URL in our API (declared with `tokenUrl="token"`).
    * The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet).
    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)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/security/oauth2-scopes.md

    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    ## โœ” `username` & ๐Ÿ’ฝ ๐Ÿ’ 
    
    ๐Ÿ‘ฅ โœ” ๐Ÿ‘ˆ ๐Ÿ‘ฅ ๐Ÿคš `username`, & โš— โ†”.
    
    & โคด๏ธ ๐Ÿ‘ฅ โœ” ๐Ÿ‘ˆ ๐Ÿ“Š โฎ๏ธ Pydantic ๐Ÿท (โœŠ `ValidationError` โš ), & ๐Ÿšฅ ๐Ÿ‘ฅ ๐Ÿคš โŒ ๐Ÿ‘‚ ๐Ÿฅ™ ๐Ÿค โš–๏ธ โš– ๐Ÿ“Š โฎ๏ธ Pydantic, ๐Ÿ‘ฅ ๐Ÿคš `HTTPException` ๐Ÿ‘ฅ โœ โญ.
    
    ๐Ÿ‘ˆ, ๐Ÿ‘ฅ โ„น Pydantic ๐Ÿท `TokenData` โฎ๏ธ ๐Ÿ†• ๐Ÿ  `scopes`.
    
    โš– ๐Ÿ“Š โฎ๏ธ Pydantic ๐Ÿ‘ฅ ๐Ÿ’ช โš’ ๐Ÿ’ญ ๐Ÿ‘ˆ ๐Ÿ‘ฅ โœ”๏ธ, ๐Ÿ–ผ, โšซ๏ธโ” `list` `str` โฎ๏ธ โ†” & `str` โฎ๏ธ `username`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/nosql-databases-couchbase.md

    ## Get the user
    
    Now create a function that will:
    
    * Take a username.
    * Generate a document ID from it.
    * Get the document with that ID.
    * Put the contents of the document in a `UserInDB` model.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/get-current-user.md

    But you are not restricted to using some specific data model, class or type.
    
    Do you want to have an `id` and `email` and not have any `username` in your model? Sure. You can use these same tools.
    
    Do you want to just have a `str`? Or just a `dict`? Or a database class model instance directly? It all works the same way.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/request-forms.md

    ## ๅฎšไน‰ `Form` ๅ‚ๆ•ฐ
    
    ๅˆ›ๅปบ่กจๅ•๏ผˆ`Form`๏ผ‰ๅ‚ๆ•ฐ็š„ๆ–นๅผไธŽ `Body` ๅ’Œ `Query` ไธ€ๆ ท๏ผš
    
    ```Python hl_lines="7"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    ไพ‹ๅฆ‚๏ผŒOAuth2 ่ง„่Œƒ็š„ "ๅฏ†็ ๆต" ๆจกๅผ่ง„ๅฎš่ฆ้€š่ฟ‡่กจๅ•ๅญ—ๆฎตๅ‘้€ `username` ๅ’Œ `password`ใ€‚
    
    <abbr title="specification">่ฏฅ่ง„่Œƒ</abbr>่ฆๆฑ‚ๅญ—ๆฎตๅฟ…้กปๅ‘ฝๅไธบ `username` ๅ’Œ `password`๏ผŒๅนถ้€š่ฟ‡่กจๅ•ๅญ—ๆฎตๅ‘้€๏ผŒไธ่ƒฝ็”จ JSONใ€‚
    
    ไฝฟ็”จ `Form` ๅฏไปฅๅฃฐๆ˜ŽไธŽ `Body` ๏ผˆๅŠ `Query`ใ€`Path`ใ€`Cookie`๏ผ‰็›ธๅŒ็š„ๅ…ƒๆ•ฐๆฎๅ’Œ้ชŒ่ฏใ€‚
    
    !!! info "่ฏดๆ˜Ž"
    
        `Form` ๆ˜ฏ็›ดๆŽฅ็ปงๆ‰ฟ่‡ช `Body` ็š„็ฑปใ€‚
    
    !!! tip "ๆ็คบ"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top