Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 353 for scope1 (0.21 seconds)

  1. tests/test_security_scopes_dont_propagate.py

    from fastapi.testclient import TestClient
    
    
    async def security1(scopes: SecurityScopes):
        return scopes.scopes
    
    
    async def security2(scopes: SecurityScopes):
        return scopes.scopes
    
    
    async def dep3(
        dep1: Annotated[list[str], Security(security1, scopes=["scope1"])],
        dep2: Annotated[list[str], Security(security2, scopes=["scope2"])],
    ):
        return {"dep1": dep1, "dep2": dep2}
    
    
    app = FastAPI()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 973 bytes
    - Click Count (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Meta-annotation that marks other annotations as scope annotations.
     * <p>
     * Scopes define the lifecycle and visibility of objects in the dependency injection
     * system. Custom scope annotations should be annotated with {@code @Scope}.
     * <p>
     * Built-in scopes include:
     * <ul>
     *   <li>{@link Singleton} - One instance per container</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-scope.xml

          <version>0.2</version>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>c</artifactId>
          <version>0.2</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>d</artifactId>
          <version>0.2</version>
          <scope>test</scope>
        </dependency>
        <dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/resources/projects/scope/project-with-scoped-dependencies.xml

        </dependency>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>scope-provided</artifactId>
          <version>1.0</version>
          <scope>provided</scope>
        </dependency>
    
        <dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-management-scope.xml

            <version>0.2</version>
            <scope>compile</scope>
          </dependency>
          <dependency>
            <groupId>test</groupId>
            <artifactId>c</artifactId>
            <version>0.2</version>
            <scope>runtime</scope>
          </dependency>
          <dependency>
            <groupId>test</groupId>
            <artifactId>d</artifactId>
            <version>0.2</version>
            <scope>test</scope>
          </dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/poms/validation/bad-plugin-dependency-scope.xml

                <scope>test</scope>
              </dependency>
              <dependency>
                <groupId>test</groupId>
                <artifactId>e</artifactId>
                <version>0.2</version>
                <scope>provided</scope>
              </dependency>
              <dependency>
                <groupId>test</groupId>
                <artifactId>f</artifactId>
                <version>0.2</version>
                <scope>import</scope>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/resources/poms/validation/bad-import-scope-type.xml

      <version>0.1</version>
    
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>test</groupId>
            <artifactId>a</artifactId>
            <version>0.1</version>
            <scope>import</scope>
            <!-- missing type=pom -->
          </dependency>
        </dependencies>
      </dependencyManagement>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/resources/poms/validation/bad-import-scope-classifier.xml

      <version>0.1</version>
    
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>test</groupId>
            <artifactId>a</artifactId>
            <version>0.1</version>
            <scope>import</scope>
            <type>pom</type>
            <classifier>cls</classifier>
          </dependency>
        </dependencies>
      </dependencyManagement>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

        private Set<String> scopes;
    
        /**
         * Create a new filter with the specified scopes and their implied scopes enabled.
         *
         * @param scopes The scopes to enable, along with all implied scopes, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(Collection<String> scopes) {
            this.scopes = new HashSet<>();
    
            addScopes(scopes);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. docs/sts/web-identity.go

    		"response_mode": {"form_post"},
    		"client_id":     {c.ClientID},
    	}
    	if c.RedirectURL != "" {
    		v.Set("redirect_uri", c.RedirectURL)
    	}
    	if len(c.Scopes) > 0 {
    		v.Set("scope", strings.Join(c.Scopes, " "))
    	}
    	v.Set("state", state)
    	v.Set("nonce", state)
    	if strings.Contains(c.Endpoint.AuthURL, "?") {
    		buf.WriteByte('&')
    	} else {
    		buf.WriteByte('?')
    	}
    	buf.WriteString(v.Encode())
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Click Count (0)
Back to Top