Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 2,005 for userX (0.29 seconds)

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

    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## 현재 사용자 주입하기 { #inject-the-current-user }
    
    이제 *경로 처리*에서 `get_current_user`와 함께 같은 `Depends`를 사용할 수 있습니다:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    `current_user`의 타입을 Pydantic 모델 `User`로 선언한다는 점에 주목하세요.
    
    이는 함수 내부에서 자동 완성과 타입 체크에 도움을 줍니다.
    
    /// tip | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. tests/associations_has_one_test.go

    )
    
    func TestHasOneAssociation(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    	CheckUser(t, user2, user)
    
    	// Count
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 10:49:45 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/security/get-current-user.md

    ## Отримати користувача { #get-the-user }
    
    `get_current_user` використає (фальшиву) утилітну функцію, яку ми створили, що приймає `token` як `str` і повертає нашу Pydantic-модель `User`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Впровадити поточного користувача { #inject-the-current-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/security/get-current-user.md

    ## Obtener el usuario { #get-the-user }
    
    `get_current_user` usará una función de utilidad (falsa) que creamos, que toma un token como un `str` y devuelve nuestro modelo de Pydantic `User`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Inyectar al usuario actual { #inject-the-current-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/security/get-current-user.md

    # 取得目前使用者 { #get-current-user }
    
    在前一章,基於依賴注入系統的安全機制會把一個 `token`(作為 `str`)提供給*路徑操作函式*:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    但這還不太有用。
    
    讓它改為回傳目前使用者吧。
    
    ## 建立使用者模型 { #create-a-user-model }
    
    先建立一個 Pydantic 的使用者模型。
    
    就像用 Pydantic 宣告請求體一樣,我們也可以在其他地方使用它:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## 建立 `get_current_user` 依賴 { #create-a-get-current-user-dependency }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## 現在のユーザーの注入 { #inject-the-current-user }
    
    ですので、 `get_current_user` に対して同様に *path operation* の中で `Depends` を利用できます。
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Pydanticモデルの `User` として、 `current_user` の型を宣言することに注意してください。
    
    その関数の中ですべての入力補完や型チェックを行う際に役に立ちます。
    
    /// tip | 豆知識
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. docs/multi-user/admin/README.md

    ```
    
    Create a new admin user `admin1` on MinIO use `mc admin user`.
    
    ```
    mc admin user add myminio admin1 admin123
    ```
    
    Once the user is successfully created you can now apply the `userManage` policy for this user.
    
    ```
    mc admin policy attach myminio userManager --user=admin1
    ```
    
    This admin user will then be allowed to perform create/delete user operations via `mc admin user`
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            // Test with different names
            LdapUser user2 = new LdapUser(testEnv, "anotheruser");
            assertEquals("anotheruser", user2.getName());
    
            // Test with empty name
            LdapUser user3 = new LdapUser(testEnv, "");
            assertEquals("", user3.getName());
    
            // Test with null name
            LdapUser user4 = new LdapUser(testEnv, null);
            assertNull(user4.getName());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  9. src/main/resources/fess_indices/fess_user.user/user.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  10. src/main/config/openapi/openapi-user.yaml

    openapi: 3.0.3
    info:
      title: Fess - User API
      description: |-
        This is a Fess Server based on the OpenAPI 3.0 specification.  
      license:
        name: Apache 2.0
        url: http://www.apache.org/licenses/LICENSE-2.0.html
      version: 14.8.0
    externalDocs:
      description: API Documentation
      url: https://fess.codelibs.org/14.8/api/
    servers:
      - url: http://localhost:8080/api/v1
    tags:
      - name: search
        description: Search operations
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
Back to Top