Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,132 for user (0.18 sec)

  1. src/main/resources/fess_indices/fess_user.group.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 173 bytes
    - Viewed (0)
  2. 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)
  3. src/main/config/es/fess_user_role.json

    {
      "fess_user.role" : {
        "aliases" : { },
        "mappings" : {
          "role" : {
            "properties" : {
              "name" : {
                "type" : "keyword"
              }
            }
          }
        },
        "settings" : {
          "index" : {
            "creation_date" : "1509021059090",
            "number_of_shards" : "5",
            "number_of_replicas" : "1",
            "uuid" : "ugUWT7UpRCau5xEMgWOBsw",
            "version" : {
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 517 bytes
    - Viewed (0)
  4. 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)
  5. src/main/config/es/fess_user_group.json

    {
      "fess_user.group" : {
        "aliases" : { },
        "mappings" : {
          "group" : {
            "properties" : {
              "gidNumber" : {
                "type" : "long"
              },
              "name" : {
                "type" : "keyword"
              }
            }
          }
        },
        "settings" : {
          "index" : {
            "creation_date" : "1509021058796",
            "number_of_shards" : "5",
            "number_of_replicas" : "1",
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 587 bytes
    - Viewed (0)
  6. 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)
  7. src/main/config/es/fess_log_user_info.json

    {
      "fess_log.user_info" : {
        "aliases" : { },
        "mappings" : {
          "user_info" : {
            "properties" : {
              "createdAt" : {
                "type" : "date",
                "format" : "date_optional_time"
              },
              "updatedAt" : {
                "type" : "date",
                "format" : "date_optional_time"
              }
            }
          }
        },
        "settings" : {
          "index" : {
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Nov 05 07:28:42 GMT 2017
    - 689 bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess_log.user_info.json

    Shinsuke Sugaya <******@****.***> 1524115279 +0900
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Apr 19 05:21:19 GMT 2018
    - 173 bytes
    - Viewed (0)
  9. 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)
  10. tests/preload_test.go

    	}
    
    	var user4 *User
    	DB.Preload("Pets.Toy").Find(&user4, "id = ?", user.ID)
    	if len(user4.Pets) != 0 {
    		t.Fatalf("User.Pet[0] was deleted and should not exist.")
    	}
    
    	var user5 User
    	DB.Unscoped().Preload(clause.Associations+"."+clause.Associations).Find(&user5, "id = ?", user.ID)
    	CheckUserUnscoped(t, user5, user)
    
    	var user6 *User
    	DB.Unscoped().Preload("Pets.Toy").Find(&user6, "id = ?", user.ID)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top