Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 769 for scope2 (0.21 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

        authorizationUrl="api/oauth/authorize",
        tokenUrl="/api/oauth/token",
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/admin", dependencies=[Security(get_token, scopes=["read", "write"])])
    async def read_admin():
        return {"message": "Admin Access"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

            return classpathTransformation.transform(dirtyGraph, scope, false);
        }
    
        // ----------------------------------------------------------------------------
        public MetadataTreeNode getClasspathTree(ArtifactScopeEnum scope)
                throws MetadataGraphTransformationException, MetadataResolutionException {
            ClasspathContainer cpc = getClasspath(scope);
            if (cpc == null) {
                return null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/NetbiosNameTest.java

            assertEquals("", name);
        }
    
        @Test
        @DisplayName("Should handle null scope")
        void testNullScope() {
            // Given
            when(mockNetbiosName.getScope()).thenReturn(null);
    
            // When
            String scope = mockNetbiosName.getScope();
    
            // Then
            assertNull(scope);
        }
    
        @Test
        @DisplayName("Should handle various name lengths")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/resources/inheritance-repo/t05/p0/p1/pom.xml

        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t05-a</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t05-c</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. android/guava-testlib/pom.xml

        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <!-- *not* <scope>test</scope>; <scope>compile</scope> is right so that guava-testlib users get junit transitively. -->
          <version>${junit.version}</version>
        </dependency>
        <dependency>
          <!--
          Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle.
          -->
          <groupId>com.google.truth</groupId>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 17:59:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. guava-testlib/pom.xml

        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <!-- *not* <scope>test</scope>; <scope>compile</scope> is right so that guava-testlib users get junit transitively. -->
          <version>${junit.version}</version>
        </dependency>
        <dependency>
          <!--
          Do not include Truth in non-test scope! Doing so creates a problematic dependency cycle.
          -->
          <groupId>com.google.truth</groupId>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 17:59:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/resources/inheritance-repo/t10/p0/pom.xml

            <groupId>maven-test</groupId>
            <artifactId>t10-a</artifactId>
            <version>1.0</version>
            <scope>test</scope>
          </dependency>
    
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t10-b</artifactId>
            <version>1.0</version>
            <scope>runtime</scope>
          </dependency>
    
          <dependency>
            <groupId>maven-test</groupId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 878 bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        /**
         * Gets the cache scope (ALL or IMMEDIATE_CHILDREN)
         * @return the cache scope
         */
        public DirectoryCacheScope getScope() {
            return scope;
        }
    
        /**
         * Sets the cache scope for this directory cache
         * @param scope the cache scope to set
         */
        public void setScope(DirectoryCacheScope scope) {
            this.scope = scope;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. cmd/signature-v4-parser_test.go

    		t.Errorf("Test %d: service mismatch:Expected \"%s\", got \"%s\"", testNum, expectedCredentials.scope.service, actualCredential.scope.service)
    	}
    
    	if expectedCredentials.scope.request != actualCredential.scope.request {
    		t.Errorf("Test %d: scope request mismatch:Expected \"%s\", got \"%s\"", testNum, expectedCredentials.scope.request, actualCredential.scope.request)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * It maintains the state of a Maven execution and provides access to all core services and components.
     * Sessions are thread-safe and can be obtained in session-scoped components using the
     * {@link org.apache.maven.api.di.SessionScoped} annotation.</p>
     *
     * <p>Key capabilities provided through the Session include:</p>
     * <ul>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
Back to Top