Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 216 for userid (0.14 sec)

  1. docs/em/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ‘ฅ ๐Ÿ“ฃ ๐Ÿ†Ž `current_user` Pydantic ๐Ÿท `User`.
    
    ๐Ÿ‘‰ ๐Ÿ”œ โ„น ๐Ÿ‡บ๐Ÿ‡ฒ ๐Ÿ”˜ ๐Ÿ”ข โฎ๏ธ ๐ŸŒ ๐Ÿ› ๏ธ & ๐Ÿ†Ž โœ….
    
    /// tip
    
    ๐Ÿ‘† 5๏ธโƒฃ๐Ÿ“† ๐Ÿ’ญ ๐Ÿ‘ˆ ๐Ÿ“จ ๐Ÿ’ช ๐Ÿ“ฃ โฎ๏ธ Pydantic ๐Ÿท.
    
    ๐Ÿ“ฅ **FastAPI** ๐Ÿ† ๐Ÿšซ ๐Ÿคš ๐Ÿ˜จ โ†ฉ๏ธ ๐Ÿ‘† โš™๏ธ `Depends`.
    
    ///
    
    /// check
    
    ๐ŸŒŒ ๐Ÿ‘‰ ๐Ÿ”— โš™๏ธ ๐Ÿ— โœ” ๐Ÿ‘ฅ โœ”๏ธ ๐ŸŽ ๐Ÿ”— (๐ŸŽ "โ˜‘") ๐Ÿ‘ˆ ๐ŸŒ ๐Ÿ“จ `User` ๐Ÿท.
    
    ๐Ÿ‘ฅ ๐Ÿšซ ๐Ÿšซ โœ”๏ธ ๐Ÿ•ด 1๏ธโƒฃ ๐Ÿ”— ๐Ÿ‘ˆ ๐Ÿ’ช ๐Ÿ“จ ๐Ÿ‘ˆ ๐Ÿ†Ž ๐Ÿ’ฝ.
    
    ///
    
    ## ๐ŸŽ ๐Ÿท
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/security/get-current-user.md

    `get_current_user` ใฏไฝœๆˆใ—ใŸ๏ผˆๅฝ็‰ฉใฎ๏ผ‰ใƒฆใƒผใƒ†ใ‚ฃใƒชใƒ†ใ‚ฃ้–ขๆ•ฐใ‚’ไฝฟใฃใฆใ€ `str` ใจใ—ใฆใƒˆใƒผใ‚ฏใƒณใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€ๅ…ˆใปใฉใฎPydanticใฎ `User` ใƒขใƒ‡ใƒซใ‚’่ฟ”ๅดใ—ใพใ™:
    
    ```Python hl_lines="19-22  26-27"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    ## ็พๅœจใฎใƒฆใƒผใ‚ถใƒผใฎๆณจๅ…ฅ
    
    ใงใ™ใฎใงใ€ `get_current_user` ใซๅฏพใ—ใฆๅŒๆง˜ใซ *path operation* ใฎไธญใง `Depends` ใ‚’ๅˆฉ็”จใงใใพใ™ใ€‚
    
    ```Python hl_lines="31"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    Pydanticใƒขใƒ‡ใƒซใฎ `User` ใจใ—ใฆใ€ `current_user` ใฎๅž‹ใ‚’ๅฎฃ่จ€ใ™ใ‚‹ใ“ใจใซๆณจๆ„ใ—ใฆใใ ใ•ใ„ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractEntity.java

        }
    
        protected void registerModifiedProperty(String propertyName) {
            __modifiedProperties.addPropertyName(propertyName);
            registerSpecifiedProperty(propertyName); // synchronize if exists, basically for user's manual call
        }
    
        public void modifiedToSpecified() {
            if (__modifiedProperties.isEmpty()) {
                return; // basically no way when called in Framework (because called when SpecifyColumn exists)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

        /**
         * Creates the LMv2 response for the supplied information.
         *
         * @param domain
         *            The domain in which the username exists.
         * @param user
         *            The username.
         * @param password
         *            The user's password.
         * @param challenge
         *            The server challenge.
         * @param clientChallenge
         *            The client challenge (nonce).
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    ## Den Benutzer holen
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurรผckgibt:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19-22  26-27"
    {!> ../../docs_src/security/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/get-current-user.md

    ///
    
    ```Python hl_lines="10"
    {!> ../../docs_src/security/tutorial001.py!}
    ```
    
    ////
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="5  12-16"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    Pydantic ๋ชจ๋ธ์ธ `User`๋กœ `current_user`์˜ ํƒ€์ž…์„ ์„ ์–ธํ•˜๋Š” ๊ฒƒ์„ ์•Œ์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.
    
    ์ด๊ฒƒ์€ ๋ชจ๋“  ์™„๋ฃŒ ๋ฐ ํƒ€์ž… ๊ฒ€์‚ฌ๋ฅผ ํ†ตํ•ด ํ•จ์ˆ˜ ๋‚ด๋ถ€์—์„œ ์šฐ๋ฆฌ๋ฅผ ๋„์šธ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    /// tip | "ํŒ"
    
    ์š”์ฒญ ๋ณธ๋ฌธ๋„ Pydantic ๋ชจ๋ธ๋กœ ์„ ์–ธ๋œ๋‹ค๋Š” ๊ฒƒ์„ ๊ธฐ์–ตํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    ์—ฌ๊ธฐ์„œ **FastAPI**๋Š” `Depends`๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ํ˜ผ๋™๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    ///
    
    /// check | "ํ™•์ธ"
    
    ์ด ์˜์กด์„ฑ ์‹œ์Šคํ…œ์ด ์„ค๊ณ„๋œ ๋ฐฉ์‹์€ ๋ชจ๋‘ `User` ๋ชจ๋ธ์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ๋‹ค์–‘ํ•œ ์˜์กด์„ฑ(๋‹ค๋ฅธ "์˜์กด์ ์ธ")์„ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/ko/docs/features.md

    from datetime import date
    
    from pydantic import BaseModel
    
    # ๋ณ€์ˆ˜๋ฅผ str๋กœ ์„ ์–ธ
    # ๊ทธ ํ›„ ํ•จ์ˆ˜ ์•ˆ์—์„œ ํŽธ์ง‘๊ธฐ ์ง€์›์„ ๋ฐ›์œผ์„ธ์š”
    def main(user_id: str):
        return user_id
    
    
    # Pydantic ๋ชจ๋ธ
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    ์œ„์˜ ์ฝ”๋“œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์‚ฌ์šฉ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/response-directly.md

    Luego, tras bastidores, pondrรญa esos datos compatibles con JSON (por ejemplo, un `dict`) dentro de una `JSONResponse` que se usarรญa para enviar la respuesta al cliente.
    
    Pero puedes devolver una `JSONResponse` directamente de tu *operaciรณn de path*.
    
    Esto puede ser รบtil, por ejemplo, para devolver cookies o headers personalizados.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. tests/associations_belongs_to_test.go

    	}
    
    	if err := DB.Model(&users[1]).Association("Company").Append(&company); err != nil {
    		t.Errorf("Error happened when append company to user, got %v", err)
    	}
    
    	if users[0].CompanyID == nil || users[1].CompanyID == nil || *users[0].CompanyID != *users[1].CompanyID {
    		t.Errorf("user's company id should exists and equal, but its: %v, %v", users[0].CompanyID, users[1].CompanyID)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top