Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 128 for token4 (0.08 seconds)

  1. src/main/java/org/codelibs/fess/llm/LlmChatResponse.java

            this.finishReason = finishReason;
        }
    
        /**
         * Gets the number of prompt tokens.
         *
         * @return the prompt tokens count
         */
        public Integer getPromptTokens() {
            return promptTokens;
        }
    
        /**
         * Sets the number of prompt tokens.
         *
         * @param promptTokens the prompt tokens count
         */
        public void setPromptTokens(final Integer promptTokens) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            String token = JsonPath.from(response).get("response.setting.token");
            checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then()
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name))
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token));
        }
    
        @Test
        void crudTest() {
            testCreate();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 12 02:18:38 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/CreateForm.java

        @ValidateTypeFailure
        public Integer crudMode;
    
        /** Token (word) to be added to the dictionary */
        @Required
        @Size(max = 1000)
        public String token;
    
        /** Segmentation information for the token */
        @Required
        @Size(max = 1000)
        public String segmentation;
    
        /** Reading (pronunciation) of the token in katakana */
        @Required
        @Size(max = 1000)
        public String reading;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                }
                return permissions;
            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/ITBase.java

        private static final String TEST_TOKEN = "test.token";
    
        public static String getTestToken() {
            return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN);
        }
    
        public static String settingTestToken() {
            final String testToken = System.getProperty(TEST_TOKEN);
            if (testToken != null) {
                logger.info("Token: {}", testToken);
                return testToken;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

                    .result());
        }
    
        // GET /api/admin/accesstoken/setting/{id}
        /**
         * Retrieves a specific access token setting by ID.
         *
         * @param id the access token ID to retrieve
         * @return JSON response with the access token setting
         */
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

         *
         * @param id The ID of the item.
         * @param token The token.
         * @param segmentation The segmentation.
         * @param reading The reading.
         * @param pos The part of speech.
         */
        public KuromojiItem(final long id, final String token, final String segmentation, final String reading, final String pos) {
            this.id = id;
            this.token = token;
            this.segmentation = segmentation;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            Exception cause = new RuntimeException("Token validation failed");
            SsoLoginException exception = new SsoLoginException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
            assertEquals("Token validation failed", exception.getCause().getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

                throw new SsoLoginException("could not validate nonce", e);
            }
        }
    
        /**
         * Obtains an access token using a refresh token.
         * @param refreshToken The refresh token to use for token acquisition.
         * @return The authentication result containing the access token.
         */
        public IAuthenticationResult getAccessToken(final String refreshToken) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

        /**
         * Checks if the LLM response has empty/blank content with a "length" finish reason.
         * This typically indicates that a reasoning model consumed all tokens for internal
         * reasoning, leaving no tokens for actual output content.
         *
         * @param response the LLM chat response
         * @return true if content is empty/blank and finish reason is "length"
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
Back to Top