Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 721 for Dependency (0.1 seconds)

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

    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info
    
    If you are planning to use digital signature algorithms like RSA or ECDSA, you should install the cryptography library dependency `pyjwt[crypto]`.
    
    You can read more about it in the [PyJWT Installation docs](https://pyjwt.readthedocs.io/en/latest/installation.html).
    
    ///
    
    ## Password hashing { #password-hashing }
    
    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/sso/spnego/SpnegoAuthenticator.java

        public SpnegoAuthenticator() {
            // do nothing
        }
    
        /**
         * Initializes the SPNEGO authenticator and registers it with the SSO manager.
         * This method is called automatically after dependency injection is complete.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  3. docs/ja/docs/features.md

        * ヘッダー。
        * クエリパラメータ。
        * クッキー、など。
    
    さらに、Starlette のすべてのセキュリティ機能(**セッション Cookie** を含む)も利用できます。
    
    これらはすべて再利用可能なツールやコンポーネントとして構築されており、システム、データストア、リレーショナル/NoSQL データベース等と容易に統合できます。
    
    ### 依存性の注入 { #dependency-injection }
    
    FastAPI には、非常に使いやすく、かつ非常に強力な <dfn title='別名: コンポーネント、リソース、サービス、プロバイダー'><strong>依存性の注入</strong></dfn> システムがあります。
    
    * 依存関係は依存関係を持つこともでき、階層または **依存関係の「グラフ」** を作成できます。
    * すべてフレームワークによって**自動的に処理**されます。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                } catch (ArtifactMetadataRetrievalException e) {
                    ArtifactResolutionException are = new ArtifactResolutionException(
                            "Unable to get dependency information for " + rootArtifact.getId() + ": " + e.getMessage(),
                            rootArtifact,
                            metadataRequest.getRemoteRepositories(),
                            e);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  5. fastapi/params.py

                include_in_schema=include_in_schema,
                json_schema_extra=json_schema_extra,
                **extra,
            )
    
    
    @dataclass(frozen=True)
    class Depends:
        dependency: Callable[..., Any] | None = None
        use_cache: bool = True
        scope: Literal["function", "request"] | None = None
    
    
    @dataclass(frozen=True)
    class Security(Depends):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  6. src/bufio/scan.go

    	if atEOF {
    		return len(data), dropCR(data), nil
    	}
    	// Request more data.
    	return 0, nil, nil
    }
    
    // isSpace reports whether the character is a Unicode white space character.
    // We avoid dependency on the unicode package, but check validity of the implementation
    // in the tests.
    func isSpace(r rune) bool {
    	if r <= '\u00FF' {
    		// Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    為此,我們使用 `security_scopes.scopes`,其中包含一個 `list`,列出所有這些 `str` 形式的 scopes。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[130:136] *}
    
    ## 相依性樹與 scopes { #dependency-tree-and-scopes }
    
    我們再回顧一次這個相依性樹與 scopes。
    
    由於 `get_current_active_user` 相依於 `get_current_user`,因此在 `get_current_active_user` 宣告的 `"me"` 這個 scope 會包含在傳給 `get_current_user` 的 `security_scopes.scopes` 的必須 scopes 清單中。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/advanced-dependencies.md

    このクラスのインスタンスは次のように作成できます:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *}
    
    このようにして依存関係を「パラメータ化」できます。いまや `"bar"` が属性 `checker.fixed_content` として中に保持されています。
    
    ## インスタンスを依存関係として使う { #use-the-instance-as-a-dependency }
    
    その後、`Depends(FixedContentQueryChecker)` の代わりに `Depends(checker)` でこの `checker` を使えます。依存関係はクラスそのものではなく、インスタンスである `checker` だからです。
    
    依存関係を解決するとき、**FastAPI** はこの `checker` を次のように呼び出します:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/settings.md

    {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *}
    
    /// tip | 提示
    
    你还需要一个 `__init__.py` 文件,就像你在[更大的应用 - 多个文件](../tutorial/bigger-applications.md)中看到的那样。
    
    ///
    
    ## 在依赖项中提供设置 { #settings-in-a-dependency }
    
    在某些情况下,从依赖项中提供设置可能更有用,而不是在所有地方都使用一个全局的 `settings` 对象。
    
    这在测试期间尤其有用,因为可以很容易地用你自己的自定义设置覆盖依赖项。
    
    ### 配置文件 { #the-config-file }
    
    延续上一个示例,你的 `config.py` 文件可能如下所示:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/settings.md

    {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *}
    
    /// tip | 豆知識
    
    [大規模アプリケーション - 複数ファイル](../tutorial/bigger-applications.md) で見たように、`__init__.py` ファイルも必要です。
    
    ///
    
    ## 依存関係での設定 { #settings-in-a-dependency }
    
    場合によっては、どこでも使うグローバルな `settings` オブジェクトを持つ代わりに、依存関係から設定を提供すると便利なことがあります。
    
    これは特にテスト時に有用で、依存関係を独自のカスタム設定で簡単にオーバーライドできるからです。
    
    ### 設定ファイル { #the-config-file }
    
    前の例から続けると、`config.py` ファイルは次のようになります:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.7K bytes
    - Click Count (0)
Back to Top