Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 98 for ACCESS (0.04 seconds)

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

  1. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/admin", dependencies=[Security(get_token, scopes=["read", "write"])])
    async def read_admin():
        return {"message": "Admin Access"}
    
    
    client = TestClient(app)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        auto_error=True,
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/")
    async def root():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

         * @throws FessSystemException if no access token is available
         */
        public String getServerPath() {
            return getSessionManager().getAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, String.class)
                    .map(token -> ADMIN_SERVER + token)
                    .orElseThrow(() -> new FessSystemException("Cannot create an access token."));
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        }
    
        /**
         * Processes a list of access results and converts them into indexable documents.
         * Each access result is transformed into a document map and added to the document list.
         *
         * @param docList the document list to add processed documents to
         * @param accessResultList the list to track processed access results for cleanup
         * @param arList the list of access results to process
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_cors/test_tutorial001.py

        headers = {
            "Origin": "https://localhost.tiangolo.com",
            "Access-Control-Request-Method": "GET",
            "Access-Control-Request-Headers": "X-Example",
        }
        response = client.options("/", headers=headers)
        assert response.status_code == 200, response.text
        assert response.text == "OK"
        assert (
            response.headers["access-control-allow-origin"]
            == "https://localhost.tiangolo.com"
        )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. CLAUDE.md

    - `HtmlResponse` for JSP, `JsonResponse` for APIs
    
    ### Services
    - Business logic in `app.service.*`
    - Injected into Actions
    - Use behavior classes to access OpenSearch
    
    ### Helpers
    - Cross-cutting utilities in `helper.*`
    - Stateless, injected via DI
    - Access via `ComponentUtil.getFooHelper()`
    
    ## Development Notes
    
    - **Code Style**: Enforced by `mvn formatter:format`
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * Admin action for Access Token management.
     * This class provides CRUD operations for access tokens.
     *
     */
    public class AdminAccesstokenAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminAccesstokenAction() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    } catch (final IOException e) {
                        logger.warn("Failed to access /{}/{}.", index, hit.getId(), e);
                    }
                    return true;
                });
            } catch (final IOException e) {
                logger.warn("Failed to access /{}.", index, e);
            }
        }
    
        /**
         * Writes system properties to the ZIP output stream.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. .teamcity/scripts/configure_build_env_on_ec2.sh

    AWS_REGION=$(curl -s "http://169.254.169.254/latest/meta-data/placement/region")
    
    if [[ "$AWS_REGION" == us-* ]]; then
      echo "For $AWS_REGION switching to user teamcityus access token"
      echo "##teamcity[setParameter name='env.DEVELOCITY_ACCESS_KEY' value='%ge.gradle.org.access.key.us%;%gbt-td.grdev.net.access.key%']"
      export DEVELOCITY_ACCESS_KEY="${DEVELOCITY_ACCESS_KEY_US}"
    fi
    
    # Execute pre-build script based on BUILD_TYPE_ID
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 23 03:27:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * It handles file access, directory listing, and access control entries (ACEs) processing.
     * </p>
     *
     * <p>
     * The class provides methods to:
     * </p>
     * <ul>
     *   <li>Initialize the client with SMB authentication details.</li>
     *   <li>Retrieve content and metadata from SMB files.</li>
     *   <li>Process access control entries to determine allowed and denied SIDs (Security Identifiers).</li>
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 23.3K bytes
    - Click Count (0)
Back to Top