Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 796 for scope (0.02 seconds)

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

    /// note | Примітка
    
    Зверніть увагу на заголовок `Authorization` зі значенням, що починається з `Bearer `.
    
    ///
    
    ## Просунуте використання зі `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 має поняття «scopes».
    
    Ви можете використовувати їх, щоб додати конкретний набір дозволів до токена JWT.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/security/oauth2-jwt.md

    /// note | Техническая информация
    
    Обратите внимание на HTTP-заголовок `Authorization`, значение которого начинается с `Bearer `.
    
    ///
    
    ## Продвинутое использование `scopes` { #advanced-usage-with-scopes }
    
    В OAuth2 существует понятие "диапазоны" ("`scopes`").
    
    С их помощью можно добавить определенный набор разрешений к JWT-токену.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note
    
    Notice the header `Authorization`, with a value that starts with `Bearer `.
    
    ///
    
    ## Advanced usage with `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 has the notion of "scopes".
    
    You can use them to add a specific set of permissions to a JWT token.
    
    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)
  4. src/main/resources/suggest_indices/suggest/mappings-default.json

        "kinds": {
          "type": "keyword"
        },
        "queryFreq": {
          "type": "long"
        },
        "roles": {
          "type": "keyword"
        },
        "languages": {
          "type": "keyword"
        },
        "score": {
          "type": "double"
        },
        "tags": {
          "type": "keyword"
        },
        "text": {
          "type": "keyword"
        },
        "userBoost": {
          "type": "double"
        }
      }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jan 06 03:01:29 GMT 2017
    - 760 bytes
    - Click Count (0)
  5. src/main/resources/fess_score.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="scoreUpdater" class="org.codelibs.fess.score.ScoreUpdater">
    	</component>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 28 08:57:57 GMT 2019
    - 262 bytes
    - Click Count (0)
  6. tests/test_security_scopes.py

            return "user"
    
        app = FastAPI()
    
        @app.get("/")
        def endpoint(
            db: Annotated[str, Depends(get_db)],
            user: Annotated[str, Security(get_user, scopes=["read"])],
        ):
            return {"db": db}
    
        return app
    
    
    @pytest.fixture(name="client")
    def client_fixture(app: FastAPI):
        return TestClient(app)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1006 bytes
    - Click Count (0)
  7. docs/en/docs/reference/dependencies.md

    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 671 bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note | 注意
    
    留意標頭 `Authorization`,其值是以 `Bearer ` 開頭。
    
    ///
    
    ## 進階用法:`scopes` { #advanced-usage-with-scopes }
    
    OAuth2 有「scopes」的概念。
    
    你可以用它們替 JWT 權杖加上一組特定的權限。
    
    接著你可以把這個權杖直接交給某個使用者或第三方,讓他們在一組受限條件下與你的 API 互動。
    
    你可以在之後的「進階使用者指南」學到如何使用它們,以及它們如何整合進 **FastAPI**。
    
    ## 小結 { #recap }
    
    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. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

            map.put(FieldNames.QUERY_FREQ, item.getQueryFreq());
            map.put(FieldNames.DOC_FREQ, item.getDocFreq());
            map.put(FieldNames.USER_BOOST, item.getUserBoost());
            map.put(FieldNames.SCORE, (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            map.put(FieldNames.TIMESTAMP, item.getTimestamp().toInstant().toEpochMilli());
            return map;
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
     * DefaultContentsParser parser = new DefaultContentsParser();
     * SuggestItem item = parser.parseSearchWords(words, readings, fields, tags, roles, score, readingConverter, normalizer, analyzer, langs);
     * }
     * </pre>
     *
     * @see ContentsParser
     * @see SuggestItem
     * @see ReadingConverter
     * @see Normalizer
     * @see SuggestAnalyzer
     */
    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)
Back to Top