- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,404 for userX (0.02 sec)
-
tests/associations_has_many_test.go
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("Team").Find(&user2.Team) CheckUser(t, user2, user) // Count AssertAssociationCount(t, user, "Team", 2, "") // Append team := *GetUser("team", Config{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
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()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0) -
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
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
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`
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
assertFalse(exception1.getMessage().equals(exception2.getMessage())); assertEquals("User is not found: user1", exception1.getMessage()); assertEquals("User is not found: user2", exception2.getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0) -
docs/em/docs/tutorial/security/get-current-user.md
## ๐ค ๐ฉโ๐ป `get_current_user` ๐ โ๏ธ (โ) ๐ ๐ข ๐ฅ โ, ๐ โ ๐ค `str` & ๐จ ๐ Pydantic `User` ๐ท: {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *} ## ๐ โฎ๏ธ ๐ฉโ๐ป ๐ ๐ฅ ๐ช โ๏ธ ๐ `Depends` โฎ๏ธ ๐ `get_current_user` *โก ๐ ๏ธ*: {* ../../docs_src/security/tutorial002.py hl[31] *} ๐ ๐ ๐ฅ ๐ฃ ๐ `current_user` Pydantic ๐ท `User`. ๐ ๐ โน ๐บ๐ฒ ๐ ๐ข โฎ๏ธ ๐ ๐ ๏ธ & ๐ โ . /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/es/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## Obtener el usuario `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 Entonces ahora podemos usar el mismo `Depends` con nuestro `get_current_user` en la *path operation*:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## 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: {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *} ## Den aktuellen Benutzer einfรผgen
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/get-current-user.md
Isso nos ajudarรก dentro da funรงรฃo com...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Jan 10 13:33:35 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
## ์ ์ ๊ฐ์ ธ์ค๊ธฐ `get_current_user`๋ ํ ํฐ์ `str`๋ก ์ทจํ๊ณ Pydantic `User` ๋ชจ๋ธ์ ๋ฐํํ๋ ์ฐ๋ฆฌ๊ฐ ๋ง๋ (๊ฐ์ง) ์ ํธ๋ฆฌํฐ ํจ์๋ฅผ ์ฌ์ฉํฉ๋๋ค. {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *} ## ํ์ฌ ์ ์ ์ฃผ์ ํ๊ธฐ ์ด์ *๊ฒฝ๋ก ์๋*์์ `get_current_user`์ ๋์ผํ `Depends`๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค. {* ../../docs_src/security/tutorial002.py hl[31] *} Pydantic ๋ชจ๋ธ์ธ `User`๋ก `current_user`์ ํ์ ์ ์ ์ธํ๋ ๊ฒ์ ์์์ผ ํฉ๋๋ค. ์ด๊ฒ์ ๋ชจ๋ ์๋ฃ ๋ฐ ํ์ ๊ฒ์ฌ๋ฅผ ํตํด ํจ์ ๋ด๋ถ์์ ์ฐ๋ฆฌ๋ฅผ ๋์ธ ๊ฒ์ ๋๋ค.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.7K bytes - Viewed (0)