Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 769 for scope2 (0.07 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link ScopeArtifactFilter}.
     *
     */
    class ScopeArtifactFilterTest {
    
        private Artifact newArtifact(String scope) {
            return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null);
        }
    
        @Test
        void testIncludeCompile() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

                                <scope>test</scope>
                            </dependency>
                            <dependency>
                                <groupId>junit</groupId>
                                <artifactId>junit</artifactId>
                                <version>4.13.2</version>
                                <scope>test</scope>
                            </dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Mode;
    import org.openjdk.jmh.annotations.OutputTimeUnit;
    import org.openjdk.jmh.annotations.Param;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    
    import java.util.AbstractList;
    import java.util.ArrayList;
    import java.util.Collections;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  4. 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)
  5. pom.xml

    			<artifactId>commons-io</artifactId>
    			<version>2.19.0</version>
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>4.13.2</version>
    			<scope>test</scope>
    		</dependency>
    	</dependencies>
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Dec 20 04:17:15 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. docs_src/behind_a_proxy/tutorial001_py310.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 189 bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            artifact.setDependencyTrail(dependencyTrail);
        }
    
        /** {@inheritDoc} */
        @Override
        public void setScope(String scope) {
            artifact.setScope(scope);
        }
    
        /** {@inheritDoc} */
        @Override
        public VersionRange getVersionRange() {
            return artifact.getVersionRange();
        }
    
        /** {@inheritDoc} */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. gradlew.bat

    @rem ##########################################################################
    @rem
    @rem  Gradle startup script for Windows
    @rem
    @rem ##########################################################################
    
    @rem Set local scope for the variables with windows NT shell
    if "%OS%"=="Windows_NT" setlocal
    
    set DIRNAME=%~dp0
    if "%DIRNAME%"=="" set DIRNAME=.
    @rem This is normally unused
    set APP_BASE_NAME=%~n0
    set APP_HOME=%DIRNAME%
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 18 20:55:41 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. .idea/scopes/llrc.xml

    <component name="DependencyValidationManager">
      <scope name="llrc" pattern="file[*.client.rest.*]:*//*||file[*.client.sniffer.*]:*//*||file[*.client.test.*]:*//*" />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Feb 08 19:13:31 GMT 2021
    - 179 bytes
    - Click Count (0)
  10. 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)
Back to Top