- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for faketoken (0.03 sec)
-
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py
async def read_admin(): return {"message": "Admin Access"} client = TestClient(app) def test_read_admin(): response = client.get("/admin", headers={"Authorization": "Bearer faketoken"}) assert response.status_code == 200, response.text assert response.json() == {"message": "Admin Access"} def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
* * @return HTML response for the crawling config form */ @Execute @Secured({ ROLE }) public HtmlResponse crawlingConfigForm() { saveToken(); return asHtml(path_AdminWizard_AdminWizardConfigJsp).useForm(CrawlingConfigForm.class); } /** * Creates a crawling configuration and returns to the config form. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
* Displays the storage management index page. * * @return HTML response for the storage list page */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asListHtml(StringUtil.EMPTY); } /** * Displays a list of files and directories in the specified path. * * @param id the encoded path ID to list (optional)Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
* Displays the general settings index page. * * @return HTML response for the general settings page */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asHtml(path_AdminGeneral_AdminGeneralJsp).useForm(EditForm.class, setup -> { setup.setup(form -> { updateForm(fessConfig, form); }); }); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
} /** * Generates and saves a new access token for the current session. * The token is used to authenticate API requests. */ public void saveToken() { getSessionManager().setAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, UUID.randomUUID().toString().replace("-", "")); } private SessionManager getSessionManager() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
* Displays the main maintenance page. * * @return HTML response for the maintenance index page */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asIndexHtml(); } private HtmlResponse asIndexHtml() { return asHtml(path_AdminMaintenance_AdminMaintenanceJsp).useForm(ActionForm.class, op -> op.setup(f -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 18.1K bytes - Viewed (0)