Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 558 for SCOPE (0.08 seconds)

  1. docs_src/security/tutorial005_py310.py

            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            scope: str = payload.get("scope", "")
            token_scopes = scope.split(" ")
            token_data = TokenData(scopes=token_scopes, username=username)
        except (InvalidTokenError, ValidationError):
            raise credentials_exception
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  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. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

    import static org.mockito.Mockito.when;
    
    public class SourceRootTest implements SourceRoot {
        private ProjectScope scope;
    
        private Language language;
    
        private String moduleName;
    
        @Override
        public ProjectScope scope() {
            return (scope != null) ? scope : SourceRoot.super.scope();
        }
    
        @Override
        public Language language() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * a fairly complete list of NetBIOS hex codes. Scope is not used but is
         * still functional in other NetBIOS products and so for completeness it has been
         * implemented. A <code>scope</code> of <code>null</code> or <code>""</code>
         * signifies no scope.
         *
         * @param host the name to resolve
         * @param type the hex code of the name
         * @param scope the scope of the name
         * @return the resolved NetBIOS address
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                return addDependency(groupId, artifactId, version, scope, (Exclusion) null);
            }
    
            public ProjectBuilder addDependency(
                    String groupId, String artifactId, String version, String scope, Exclusion exclusion) {
                return addDependency(groupId, artifactId, version, scope, null, exclusion);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. compat/maven-model-builder/pom.xml

        </dependency>
        <dependency>
          <groupId>javax.inject</groupId>
          <artifactId>javax.inject</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.eclipse.sisu</groupId>
          <artifactId>org.eclipse.sisu.inject</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-utils</artifactId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                String type,
                String classifier,
                String scope,
                String inheritedScope,
                boolean optional) {
            String desiredScope = Artifact.SCOPE_RUNTIME;
    
            if (inheritedScope == null) {
                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

        }
    
        private void addScopes(Collection<String> scopes) {
            if (scopes != null) {
                for (String scope : scopes) {
                    addScope(scope);
                }
            }
        }
    
        private void addScope(String scope) {
            this.scopes.add(scope);
    
            addScopeInternal(scope);
        }
    
        public Set<String> getScopes() {
            return scopes;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. compat/maven-artifact/pom.xml

      <dependencies>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-params</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * {@return all enabled sources that provide files in the given language for the given scope}.
         * If the given scope is {@code null}, then this method returns the enabled sources for all scopes.
         * If the given language is {@code null}, then this method returns the enabled sources for all languages.
         * An arbitrary number of source roots may exist for the same scope and language.
         * It may be, for example, the case of a multi-versions project.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top