- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 205 for user21 (0.11 seconds)
-
docs/pt/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## Obter o usuário { #get-the-user } `get_current_user` usará uma função utilitária (falsa) que criamos, que recebe um token como uma `str` e retorna nosso modelo Pydantic `User`: {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *} ## Injetar o usuário atual { #inject-the-current-user }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} final FessLoginAssist loginAssist = ComponentUtil.getComponent(FessLoginAssist.class); return loginAssist.getSavedUserBean() .map(user -> user.hasRoles(roles) || user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray())) .orElse(false); } /** * Masks email addresses in the input string for privacy protection.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
docs/zh-hant/docs/tutorial/extra-models.md
### 關於 `**user_in.model_dump()` { #about-user-in-model-dump } #### Pydantic 的 `.model_dump()` { #pydantics-model-dump } `user_in` 是一個 `UserIn` 類別的 Pydantic 模型。 Pydantic 模型有 `.model_dump()` 方法,會回傳包含該模型資料的 `dict`。 因此,若我們建立一個 Pydantic 物件 `user_in` 如: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` 接著呼叫: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.3K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
return mac.doFinal(data); } /** * Returns the user's Kerberos realm. * * @return the user realm */ public String getUserRealm() { return this.userRealm; } /** * Returns the user's principal name. * * @return the user principal name */ public String getUserPrincipalName() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.5K bytes - Click Count (0) -
docs/en/docs/advanced/strict-content-type.md
* The browser thinks it's not sending JSON (because of the missing `Content-Type` header). Then the malicious website could make the local AI agent send angry messages to the user's ex-boss... or worse. 😅 ## Open Internet { #open-internet } If your app is in the open internet, you wouldn't "trust the network" and let anyone send privileged requests without authentication.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 3.2K bytes - Click Count (0) -
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) -
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) -
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) -
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)