Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 639 for USERNAME (0.09 seconds)

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

    ///
    
    ## 其他模型 { #other-models }
    
    現在你可以在*路徑操作函式*中直接取得目前使用者,並在**依賴注入**層處理安全機制,使用 `Depends`。
    
    而且你可以為安全需求使用任意模型或資料(本例中是 Pydantic 模型 `User`)。
    
    但你不受限於某個特定的資料模型、類別或型別。
    
    想在模型中只有 `id` 與 `email` 而沒有任何 `username`?當然可以。你可以用同樣的工具達成。
    
    想只用一個 `str`?或只用一個 `dict`?或直接使用資料庫類別的模型實例?都可以,一樣運作。
    
    你的應用其實沒有真人使用者登入,而是機器人、bot,或其他系統,只持有 access token?同樣沒有問題。
    
    只要用任何你的應用需要的模型、類別或資料庫即可。**FastAPI** 的依賴注入系統都支援。
    
    ## 程式碼大小 { #code-size }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/EditForm.java

         * This is a required field for identifying which duplicate host entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this duplicate host configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java

         * The sort order for this path mapping (0-2147483647).
         */
        @Required
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer sortOrder;
    
        /**
         * The username who created this path mapping.
         */
        @Size(max = 1000)
        public String createdBy;
    
        /**
         * The timestamp when this path mapping was created.
         */
        @ValidateTypeFailure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/orig/view/advance.jsp

    							<c:choose>
    								<c:when test="${!empty username && username != 'guest'}">
    									<li class="nav-item">
    										<div class="dropdown">
    											<a id="userMenu" class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
    												href="#" role="button" aria-haspopup="true" aria-expanded="false"
    											> <i class="fa fa-fw fa-user" aria-hidden="true"></i>${username}
    											</a>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  6. 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;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/user/CreateForm.java

         */
        public CreateForm() {
            // Empty constructor
        }
    
        /**
         * The CRUD mode for the form.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The username of the user.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The password for the user.
         */
        @Size(max = 100)
        public String password;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java

         * This is a required field for identifying which request header entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this request header configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/elevateword/EditForm.java

         * This is a required field for identifying which elevate word entry to update.
         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this elevate word configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial002_an_py310.py hl[12] *}
    
    If a client tries to send some extra data, they will receive an **error** response.
    
    For example, if the client tries to send the form fields:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    They will receive an error response telling them that the field `extra` is not allowed:
    
    ```json
    {
        "detail": [
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.1K bytes
    - Click Count (0)
Back to Top