Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 111 for SCOPE (0.03 seconds)

  1. .teamcity/pom.xml

                <version>${teamcity.dsl.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.jetbrains.teamcity</groupId>
                <artifactId>configs-dsl-kotlin-latest</artifactId>
                <version>${teamcity.dsl.version}</version>
                <scope>compile</scope>
            </dependency>
            <dependency>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 22:03:46 GMT 2026
    - 7.4K bytes
    - Click Count (2)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

    But we also pass a `list` of scopes, in this case with just one scope: `items` (it could have more).
    
    And the dependency function `get_current_active_user` can also declare sub-dependencies, not only with `Depends` but also with `Security`. Declaring its own sub-dependency function (`get_current_user`), and more scope requirements.
    
    In this case, it requires the scope `me` (it could require more than one scope).
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    If not specified and the dependency has `yield`, it will have a `scope` of `"request"` by default.
    
    ### `scope` for sub-dependencies { #scope-for-sub-dependencies }
    
    When you declare a dependency with a `scope="request"` (the default), any sub-dependency needs to also have a `scope` of `"request"`.
    
    But a dependency with `scope` of `"function"` can have dependencies with `scope` of `"function"` and `scope` of `"request"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    `scope="request"`(기본값)로 의존성을 선언하면, 모든 하위 의존성도 `scope`가 `"request"`여야 합니다.
    
    하지만 `scope`가 `"function"`인 의존성은 `scope`가 `"function"`인 의존성과 `"request"`인 의존성을 모두 의존성으로 가질 수 있습니다.
    
    이는 어떤 의존성이든, 종료 코드에서 하위 의존성을 계속 사용해야 할 수도 있으므로, 하위 의존성보다 먼저 종료 코드를 실행할 수 있어야 하기 때문입니다.
    
    ```mermaid
    sequenceDiagram
    
    participant client as Client
    participant dep_req as Dep scope="request"
    participant dep_func as Dep scope="function"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        // Parse the address, and make sure the length/version is correct.
        Scope scope = parseScope ? new Scope() : null;
        byte[] addr = ipStringToBytes(ipString, scope);
        if (addr == null || addr.length != expectBytes) {
          return null;
        }
    
        return bytesToInetAddress(addr, (scope != null) ? scope.scope : null);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md

    * `"request"`:在處理請求的路徑操作函式之前啟動相依(與使用 `"function"` 類似),但在回應送回用戶端之後才結束相依。所以,相依函式會在整個**請求**與回應循環的「周圍」執行。
    
    如果未指定且相依使用了 `yield`,則預設 `scope` 為 `"request"`。
    
    ### 子相依的 `scope` { #scope-for-sub-dependencies }
    
    當你宣告一個 `scope="request"`(預設值)的相依時,任何子相依也需要有 `"request"` 的 `scope`。
    
    但一個 `scope` 為 `"function"` 的相依,可以擁有 `scope` 為 `"function"` 或 `"request"` 的子相依。
    
    這是因為任何相依都需要能在子相依之前執行其結束程式碼,因為它可能在結束程式碼中仍需要使用那些子相依。
    
    ```mermaid
    sequenceDiagram
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  7. fastapi/security/oauth2.py

            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
            if form_data.client_id:
                data["client_id"] = form_data.client_id
            if form_data.client_secret:
                data["client_secret"] = form_data.client_secret
            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    在 OpenAPI(例如 API 文件)中,你可以定義「security schemes」。
    
    當某個 security scheme 使用 OAuth2 時,你也可以宣告並使用 scopes。
    
    每個「scope」就是一個(不含空白的)字串。
    
    它們通常用來宣告特定的安全性權限,例如:
    
    - `users:read` 或 `users:write` 是常見的例子。
    - `instagram_basic` 是 Facebook / Instagram 使用的。
    - `https://www.googleapis.com/auth/drive` 是 Google 使用的。
    
    /// info
    
    在 OAuth2 中,「scope」只是宣告所需特定權限的一個字串。
    
    是否包含像 `:` 這樣的字元,或是否是一個 URL,都沒差。
    
    那些細節取決於實作。
    
    對 OAuth2 而言,它們就是字串。
    
    ///
    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)
  9. pom.xml

    			<version>${tomcat.version}</version>
    			<!-- Disable scope at development on IDEA -->
    			<scope>provided</scope>
    		</dependency>
    		<dependency><!-- for jsp -->
    			<groupId>org.apache.tomcat.embed</groupId>
    			<artifactId>tomcat-embed-jasper</artifactId>
    			<version>${tomcat.version}</version>
    			<!-- Disable scope at development on IDEA -->
    			<scope>provided</scope>
    		</dependency>
    
    		<!-- groovy -->
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 49.9K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        }
    
        protected Artifact createArtifact(String id, String version, String scope)
                throws InvalidVersionSpecificationException {
            return createArtifact(id, version, scope, null, false);
        }
    
        protected Artifact createArtifact(String id, String version, String scope, String inheritedScope, boolean optional)
                throws InvalidVersionSpecificationException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top