- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,623 for Huser (0.14 sec)
-
src/main/resources/fess_indices/fess_user.user/user.bulk
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Jan 12 13:23:26 GMT 2023 - 166 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/exentity/User.java
*/ package org.codelibs.fess.es.user.exentity; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.ArrayList; import java.util.Arrays; import java.util.Base64; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.fess.Constants; import org.codelibs.fess.entity.FessUser; import org.codelibs.fess.es.user.bsentity.BsUser;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.8K bytes - Viewed (1) -
src/main/config/es/fess_user_user.json
{ "fess_user.user" : { "aliases" : { }, "mappings" : { "user" : { "properties" : { "businessCategory" : { "type" : "keyword" }, "carLicense" : { "type" : "keyword" }, "city" : { "type" : "keyword" }, "departmentNumber" : { "type" : "keyword" }, "description" : {
Json - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FessUser.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.entity; import java.io.Serializable; public interface FessUser extends Serializable { String getName(); String[] getRoleNames(); String[] getGroupNames(); String[] getPermissions(); default boolean isEditable() { return false;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 978 bytes - Viewed (0) -
src/main/resources/fess_indices/fess_user.user/user.json
Shinsuke Sugaya <******@****.***> 1638450896 +0900
Json - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 2.4K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_user.user.json
Shinsuke Sugaya <******@****.***> 1638450896 +0900
Json - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 173 bytes - Viewed (0) -
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` の型を宣言することに注意してください。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 18:36:35 GMT 2024 - 5.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
``` ## Create a `get_current_user` dependency Let's create a dependency `get_current_user`. Remember that dependencies can have sub-dependencies? `get_current_user` will have a dependency with the same `oauth2_scheme` we created before. The same as we were doing before in the *path operation* directly, our new dependency `get_current_user` will receive a `token` as a `str` from the sub-dependency `oauth2_scheme`:
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) -
docs/zh/docs/tutorial/security/get-current-user.md
{!../../../docs_src/security/tutorial002.py!} ``` ## 创建 `get_current_user` 依赖项 创建 `get_current_user` 依赖项。 还记得依赖项支持子依赖项吗? `get_current_user` 使用 `oauth2_scheme` 作为依赖项。 与之前直接在路径操作中的做法相同,新的 `get_current_user` 依赖项从子依赖项 `oauth2_scheme` 中接收 `str` 类型的 `token`: ```Python hl_lines="25" {!../../../docs_src/security/tutorial002.py!} ``` ## 获取用户 `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:46:46 GMT 2024 - 3.5K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_user.role/alias/fess_user.json
Shinsuke Sugaya <******@****.***> 1640608546 +0900
Json - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Dec 27 12:35:46 GMT 2021 - 3 bytes - Viewed (0)