Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 607 for USERNAME (0.12 sec)

  1. docs/zh/docs/tutorial/security/get-current-user.md

    而不是局限于只能有一个返回该类型数据的依赖项。
    
    ///
    
    ## 其它模型
    
    接下来,直接在*路径操作函数*中获取当前用户,并用 `Depends` 在**依赖注入**系统中处理安全机制。
    
    开发者可以使用任何模型或数据满足安全需求(本例中是 Pydantic 的 `User` 模型)。
    
    而且,不局限于只能使用特定的数据模型、类或类型。
    
    不想在模型中使用 `username`,而是使用 `id` 和 `email`?当然可以。这些工具也支持。
    
    只想使用字符串?或字典?甚至是数据库类模型的实例?工作方式都一样。
    
    实际上,就算登录应用的不是用户,而是只拥有访问令牌的机器人、程序或其它系统?工作方式也一样。
    
    尽管使用应用所需的任何模型、类、数据库。**FastAPI** 通过依赖注入系统都能帮您搞定。
    
    
    ## 代码大小
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

        public String permissions;
    
        /** The boost score multiplier applied to elevated documents */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /** The username of who created this elevate word entry */
        @Size(max = 1000)
        public String createdBy;
    
        /** The timestamp when this elevate word entry was created */
        @ValidateTypeFailure
        public Long createdTime;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

              )
            }
    
          if (auth != null) {
            val credentialHeader = if (proxyAuthorization) "Proxy-Authorization" else "Authorization"
            val credential =
              Credentials.basic(
                auth.userName,
                String(auth.password),
                challenge.charset,
              )
            return request
              .newBuilder()
              .header(credentialHeader, credential)
              .build()
          }
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/EditForm.java

     */
    public class EditForm extends CreateForm {
    
        /** Unique identifier for the related query entry */
        @Required
        @Size(max = 1000)
        public String id;
    
        /** Username of the user who last updated this entry */
        @Size(max = 1000)
        public String updatedBy;
    
        /** Timestamp when this entry was last updated */
        @ValidateTypeFailure
        public Long updatedTime;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/promotion/PromotionProject.kt

                param("env.JDK21", javaHome(OpenJdk21, Os.LINUX))
                param("env.JDK25", javaHome(OpenJdk25, Os.LINUX))
                param("env.ORG_GRADLE_PROJECT_artifactoryUserName", "%gradle.internal.repository.build-tool.publish.username%")
                password("env.ORG_GRADLE_PROJECT_infrastructureEmailPwd", "%infrastructureEmailPwd%")
                param("env.ORG_GRADLE_PROJECT_sdkmanKey", "8ed1a771bc236c287ad93c699bfdd2d7")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 12 12:12:29 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt

    package okhttp3.internal
    
    import java.net.Authenticator
    import java.net.PasswordAuthentication
    
    class RecordingAuthenticator(
      private val authentication: PasswordAuthentication? =
        PasswordAuthentication(
          "username",
          "password".toCharArray(),
        ),
    ) : Authenticator() {
      val calls = mutableListOf<String>()
    
      override fun getPasswordAuthentication(): PasswordAuthentication? {
        calls.add(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/LocalUserCredential.java

     */
    public class LocalUserCredential extends UserPasswordCredential implements FessCredential {
        /**
         * Creates a new LocalUserCredential with the specified user and password.
         *
         * @param user the username
         * @param password the password
         */
        public LocalUserCredential(final String user, final String password) {
            super(user, password);
        }
    
        @Override
        public String getUserId() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        lmHash = new byte[(password.length() + 1) * 2];
                        ntHash = new byte[0];
                        writeString(password, lmHash, 0);
                    }
                    accountName = auth.username;
                    if (useUnicode) {
                        accountName = accountName.toUpperCase();
                    }
                    primaryDomain = auth.domain.toUpperCase();
                } else if (cred instanceof byte[]) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/body-multiple-params.md

    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        },
        "user": {
            "username": "dave",
            "full_name": "Dave Grohl"
        }
    }
    ```
    
    /// note | Внимание
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/badword/CreateForm.java

        public Integer crudMode;
    
        /**
         * The bad word to be filtered from search suggestions.
         */
        @Required
        @Pattern(regexp = "[^\\s]+")
        public String suggestWord;
    
        /**
         * The username of the user who created this bad word entry.
         */
        @Size(max = 1000)
        public String createdBy;
    
        /**
         * The timestamp when this bad word entry was created.
         */
        @ValidateTypeFailure
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top