Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for faketoken (0.04 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                        () -> asListHtml(this::saveToken));
            }
    
            final CurlRequest curlRequest = getCurlRequest(header);
            if (curlRequest == null) {
                final String msg = header;
                throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, msg), () -> asListHtml(this::saveToken));
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dashboard/AdminDashboardAction.java

        /**
         * Show the index page.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse index() {
            searchEngineApiManager.saveToken();
            return asHtml(path_AdminDashboard_AdminDashboardJsp).renderWith(data -> {
                RenderDataUtil.register(data, "serverPath", searchEngineApiManager.getServerPath());
            });
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/suggest/AdminSuggestAction.java

         *
         * @return HTML response for the suggest management page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asHtml(path_AdminSuggest_AdminSuggestJsp).useForm(SuggestForm.class);
        }
    
        /**
         * Deletes all suggest words from the suggest index.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

            }
            return asHtml(virtualHost(path_Login_IndexJsp)).renderWith(data -> {
                RenderDataUtil.register(data, "notification", fessConfig.getNotificationLogin());
                saveToken();
            });
        }
    
        /**
         * Handles user login with the provided credentials.
         *
         * @param form the login form containing username and password
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

         *
         * @return HTML response for the failure URL list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        /**
         * Displays the failure URL list page with pagination support.
         *
         * @param pageNumber the page number to display
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top