Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 260 for tokens (0.05 seconds)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    Update `get_current_user` to receive the same token as before, but this time, using JWT tokens.
    
    Decode the received token, verify it, and return the current user.
    
    If the token is invalid, return an HTTP error right away.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Update the `/token` *path operation* { #update-the-token-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            if (langs == null || langs.length == 0) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, "", null);
                return tokens == null || tokens.size() == 0;
            }
            for (final String lang : langs) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, field, lang);
                if (tokens != null && tokens.size() > 0) {
                    return false;
                }
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## Return the token { #return-the-token }
    
    The response of the `token` endpoint must be a JSON object.
    
    It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`".
    
    And it should have an `access_token`, with a string containing our access token.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## 回傳 token { #return-the-token }
    
    `token` 端點的回應必須是 JSON 物件。
    
    它應該有一個 `token_type`。在本例中,我們使用「Bearer」tokenstoken 類型應該是「`bearer`」。
    
    而且它還應該有一個 `access_token`,其值為包含我們存取權杖的字串。
    
    在這個簡單示例中,我們會不安全地直接回傳相同的 `username` 當作 token。
    
    /// tip
    
    下一章你會看到真正安全的實作,包含密碼雜湊與 <abbr title="JSON Web Tokens - JSON 網頁權杖">JWT</abbr> tokens。
    
    但現在先把注意力放在我們需要的這些細節上。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

            return this;
        }
    
        /**
         * Gets the maximum tokens for the response.
         *
         * @return the maximum tokens
         */
        public Integer getMaxTokens() {
            return maxTokens;
        }
    
        /**
         * Sets the maximum tokens for the response.
         *
         * @param maxTokens the maximum tokens
         * @return this request for method chaining
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. CLAUDE.md

    - Logger: `LogManager.getLogger(ClassName.class)`
    - Format: `key=value` (e.g., `userId={}`, `url={}`)
    - Prefix with `[name]` when context identification is needed
    - Mask sensitive values (passwords, tokens)
    
    ## i18n / Localization
    - This project supports up to 21 languages. When modifying user-facing strings, error codes, or labels, always propagate changes to ALL language files (fess_label_*.properties and frontend i18n files).
    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)
  7. src/main/webapp/js/marked.min.js

    e)&&"tokens"in u.tokens[0]&&u.tokens[0].tokens?(u.tokens[0].raw=c.raw+u.tokens[0].raw,u.tokens[0].text=c.raw+u.tokens[0].text,u.tokens[0].tokens.unshift(c)):u.tokens.unshift({type:"paragraph",raw:c.raw,text:c.raw,tokens:[c]}):u.tokens.unshift(c)}}if(!i.loose){let p=u.tokens.filter(d=>d.type==="space"),c=p.length>0&&p.some(d=>this.rules.other.anyLine.test(d.raw));i.loose=c}}if(i.loose)for(let u of i.items){u.loose=!0;for(let p of u.tokens)p.type==="text"&&(p.type="paragraph")}return i}}html(e){let...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 41.5K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    # 使用密碼(與雜湊)的 OAuth2、以 Bearer 搭配 JWT 權杖 { #oauth2-with-password-and-hashing-bearer-with-jwt-tokens }
    
    現在我們已經有完整的安全流程了,接下來用 <abbr title="JSON Web Tokens - JSON 網路權杖">JWT</abbr> 權杖與安全的密碼雜湊,讓應用真正安全。
    
    這份程式碼可以直接用在你的應用中,把密碼雜湊存進資料庫等等。
    
    我們會從上一章的內容繼續往下擴充。
    
    ## 關於 JWT { #about-jwt }
    
    JWT 的意思是「JSON Web Tokens」。
    
    它是一種把 JSON 物件編碼成一段長且緊密(沒有空白)的字串的標準。看起來像這樣:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/security/oauth2-jwt.md

    # 使用密码(及哈希)的 OAuth2,基于 JWT 的 Bearer 令牌 { #oauth2-with-password-and-hashing-bearer-with-jwt-tokens }
    
    现在我们已经有了完整的安全流程,接下来用 <abbr title="JSON Web Tokens - JSON Web 令牌">JWT</abbr> 令牌和安全的密码哈希,让应用真正安全起来。
    
    这些代码可以直接用于你的应用,你可以把密码哈希保存到数据库中,等等。
    
    我们将从上一章结束的地方继续,逐步完善。
    
    ## 关于 JWT { #about-jwt }
    
    JWT 意为 “JSON Web Tokens”。
    
    它是一种标准,把一个 JSON 对象编码成没有空格、很密集的一长串字符串。看起来像这样:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. docs/en/docs/how-to/conditional-openapi.md

    * Configure any required permissions and roles using dependencies.
    * Never store plaintext passwords, only password hashes.
    * Implement and use well-known cryptographic tools, like pwdlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top