- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,093 for user (0.37 sec)
-
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 Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.8K bytes - Viewed (1) -
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 Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 978 bytes - Viewed (0) -
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
Others - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jun 19 13:30:00 GMT 2023 - 21.6K bytes - Viewed (1) -
docs/en/docs/tutorial/security/get-current-user.md
!!! tip Prefer to use the `Annotated` version if possible. ```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: === "Python 3.10+"
Plain Text - Registered: Sun Apr 28 07:19:10 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 Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 22:46:46 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
``` ## Eine `get_current_user`-Abhängigkeit erstellen Erstellen wir eine Abhängigkeit `get_current_user`. Erinnern Sie sich, dass Abhängigkeiten Unterabhängigkeiten haben können? `get_current_user` wird seinerseits von `oauth2_scheme` abhängen, das wir zuvor erstellt haben.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 18:08:05 GMT 2024 - 8.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
{!> ../../../docs_src/security/tutorial002_py310.py!} ``` ## `get_current_user` 의존성 생성하기 의존성 `get_current_user`를 만들어 봅시다. 의존성이 하위 의존성을 가질 수 있다는 것을 기억하십니까? `get_current_user`는 이전에 생성한 것과 동일한 `oauth2_scheme`과 종속성을 갖게 됩니다. 이전에 *경로 작동*에서 직접 수행했던 것과 동일하게 새 종속성 `get_current_user`는 하위 종속성 `oauth2_scheme`에서 `str`로 `token`을 수신합니다. === "파이썬 3.7 이상" ```Python hl_lines="25"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.6K 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 Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Jan 28 18:36:35 GMT 2024 - 5.6K bytes - Viewed (0) -
helm/minio/templates/_helper_create_user.txt
rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Dec 12 23:43:32 GMT 2023 - 3.2K bytes - Viewed (0) -
tests/update_test.go
if users[1].Name != "update_column_02_newname" || users[1].Age != 100 { t.Errorf("user 2 should be updated with update column") } AssertEqual(t, lastUpdatedAt.UnixNano(), users[1].UpdatedAt.UnixNano()) // user2 should not be updated var user1, user2 User DB.First(&user1, users[0].ID) DB.First(&user2, users[1].ID) CheckUser(t, user1, *users[0]) CheckUser(t, user2, *users[1])
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Dec 04 03:50:58 GMT 2023 - 30.3K bytes - Viewed (0)