Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 485 for USERNAME (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/en/docs/tutorial/request-forms.md

    The <dfn title="specification">spec</dfn> requires the fields to be exactly named `username` and `password`, and to be sent as form fields, not JSON.
    
    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/first-steps.md

    OAuth2 的设计目标是让后端或 API 与负责用户认证的服务器解耦。
    
    但在这个例子中,**FastAPI** 应用同时处理 API 和认证。
    
    从这个简化的角度来看看流程:
    
    * 用户在前端输入 `username` 和 `password`,然后按下 `Enter`。
    * 前端(运行在用户浏览器中)把 `username` 和 `password` 发送到我们 API 中的特定 URL(使用 `tokenUrl="token"` 声明)。
    * API 校验 `username` 和 `password`,并返回一个“令牌”(这些我们尚未实现)。
        * “令牌”只是一个字符串,包含一些内容,之后可用来验证该用户。
        * 通常,令牌会在一段时间后过期。
            * 因此,用户过一段时间需要重新登录。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         *
         * @param form the form containing the web authentication data
         * @param username the username of the current user
         * @param currentTime the current timestamp
         * @return an optional WebAuthentication entity
         */
        public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            assertEquals(5, chain.deleteCalls.size());
        }
    
        // Helper method to create test user
        private User createTestUser(String username, String displayName) {
            User user = new User();
            user.setName(username);
            user.setDisplayName(displayName);
            return user;
        }
    
        // Test implementation of AuthenticationChain for testing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/request-forms.md

    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *}
    
    例如,在 OAuth2 規範的一種用法(稱為「password flow」)中,必須以表單欄位傳送 `username` 與 `password`。
    
    該 <dfn title="規範">規範</dfn> 要求欄位名稱必須正好是 `username` 和 `password`,而且必須以表單欄位傳送,而不是 JSON。
    
    使用 `Form` 時,你可以宣告與 `Body`(以及 `Query`、`Path`、`Cookie`)相同的設定,包括驗證、範例、別名(例如用 `user-name` 取代 `username`)等。
    
    /// info
    
    `Form` 是一個直接繼承自 `Body` 的類別。
    
    ///
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         *
         * @param form the create form
         * @param username the current username
         * @param currentTime the current time
         * @return optional file configuration entity
         */
        public static OptionalEntity<FileConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileAuthentication.java

                    + ", protocolScheme=" + protocolScheme + ", updatedBy=" + updatedBy + ", updatedTime=" + updatedTime + ", username="
                    + username + ", docMeta=" + docMeta + "]";
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/WebAuthenticationDbm.java

                false, false, "Long", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnUsername = cci("username", "username", null, null, String.class, "username", null, false, false,
                false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

         *
         * @param form the form containing the web config data
         * @param username the username of the current user
         * @param currentTime the current timestamp
         * @return an optional WebConfig entity
         */
        public static OptionalEntity<WebConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
Back to Top