Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 3,506 for user (0.03 seconds)

  1. tests/test_security_api_key_cookie_optional.py

    api_key = APIKeyCookie(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str | None = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        if current_user is None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. CLAUDE.md

    ├── opensearch/                # DBFlute integration for OpenSearch
    │   ├── config/                # Config index (crawl configs, schedules)
    │   ├── log/                   # Log index (search logs, click logs)
    │   └── user/                  # User index (users, groups, roles)
    ├── helper/                    # Cross-cutting utilities (~40+ helpers)
    ├── crawler/                   # Crawling engine (processor, transformer, service)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  3. tests/test_security_openid_connect_optional.py

    oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str | None = Security(oid)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User | None = Depends(get_current_user)):
        if current_user is None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            url = "file:////server/user";
            exp = "\\\\server\\user";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
            url = "smb://server/user";
            exp = "\\\\server\\user";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
            url = "smb1://server/user";
            exp = "\\\\server\\user";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  5. docs/chroot/README.md

    go install github.com/minio/minio@latest
    
    # Create the bin directory in your chroot
    mkdir -p /mnt/export/${USER}/bin
    
    # Copy the built binary to the chroot directory
    cp $(go env GOPATH)/bin/minio /mnt/export/${USER}/bin/minio
    chmod +x /mnt/export/${USER}/bin/minio
    ```
    
    Alternatively, if you have an existing legacy binary, you can still use it, but note that it will not receive updates.
    
    Bind your `proc` mount to the target chroot directory
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:29:55 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. tests/test_dependency_yield_except_httpexception.py

            raise
        finally:
            state["finally"] = True
    
    
    @app.put("/invalid-user/{user_id}")
    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
        raise HTTPException(status_code=400, detail="Invalid user")
    
    
    @app.put("/user/{user_id}")
    def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)):
        db[user_id] = name
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java

    import org.gradle.api.file.DirectoryProperty;
    
    /**
     * Configuration for user manual documentation
     */
    public abstract class UserManual {
        /**
         * The root of the user manual documentation.  This is the source of the adoc files.
         */
        public abstract DirectoryProperty getRoot();
    
        /**
         * Source of snippets that can be inserted into the user manual
         */
        public abstract DirectoryProperty getSnippets();
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 22:33:18 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            // system + user = 2 messages (no history added)
            assertEquals(2, messages.size());
        }
    
        @Test
        public void test_buildIntentRequest_trimsHistoryToMaxSix() {
            final List<LlmMessage> history = new ArrayList<>();
            history.add(LlmMessage.user("Q1"));
            history.add(LlmMessage.assistant("A1"));
            history.add(LlmMessage.user("Q2"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Make attempts from same IP with different users
            for (int i = 1; i <= 5; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, ip), "Attempt " + i + " should be allowed");
                rateLimiter.recordFailure("user" + i, ip);
            }
    
            // 6th attempt from same IP should be blocked
            assertFalse(rateLimiter.checkAttempt("user6", ip), "Should block after IP rate limit");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        //                                                                           =========
        /**
         * Gets the current user bean from the session.
         * This method returns the concrete FessUserBean class instead of the generic type.
         *
         * @return an optional containing the current user bean, or empty if not logged in
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top