Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 564 for scope3 (0.04 sec)

  1. tests/test_tutorial/test_security/test_tutorial005.py

        return mod
    
    
    def get_access_token(
        *, username="johndoe", password="secret", scope=None, client: TestClient
    ):
        data = {"username": username, "password": password}
        if scope:
            data["scope"] = scope
        response = client.post("/token", data=data)
        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            }
            return projectKeys;
        }
    
        private Collection<String> negate(Collection<String> scopes) {
            Collection<String> result = new HashSet<>();
            Collections.addAll(result, "system", "compile", "provided", "runtime", "test");
    
            for (String scope : scopes) {
                if ("compile".equals(scope)) {
                    result.remove("compile");
                    result.remove("system");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/simple-oauth2.md

    ### `scope` { #scope }
    
    A especificação também diz que o cliente pode enviar outro campo de formulário "`scope`".
    
    O nome do campo do formulário é `scope` (no singular), mas na verdade é uma longa string com "escopos" separados por espaços.
    
    Cada “scope” é apenas uma string (sem espaços).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/MavenTestHelper.java

    import org.apache.maven.impl.InternalSession;
    import org.apache.maven.impl.resolver.scopes.Maven4ScopeManagerConfiguration;
    import org.apache.maven.internal.impl.DefaultLookup;
    import org.apache.maven.internal.impl.DefaultSession;
    import org.codehaus.plexus.PlexusContainer;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.eclipse.aether.internal.impl.scope.ScopeManagerImpl;
    
    public class MavenTestHelper {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        // TODO let the scope handler deal with this
        private static boolean isCompilePathElement(final String scope) {
            return Artifact.SCOPE_COMPILE.equals(scope)
                    || Artifact.SCOPE_PROVIDED.equals(scope)
                    || Artifact.SCOPE_SYSTEM.equals(scope);
        }
    
        // TODO let the scope handler deal with this
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     * trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution
     * scoped components.
     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     *
     * @see org.apache.maven.execution.MojoExecutionListener
     * @since 3.1.2
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.apache.maven.repository.internal.MavenRepositorySystemUtils;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.eclipse.aether.internal.impl.scope.ScopeManagerImpl;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.fail;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

                } catch (final Exception e) {
                    logger.warn("Failed to update scores: booster={}", b.getClass().getSimpleName(), e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
            return resultBuf.toString();
        }
    
        /**
         * Adds a score booster.
         * @param scoreBooster The score booster.
         */
        protected void addScoreBooster(final ScoreBooster scoreBooster) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. fastapi/openapi/utils.py

            # Merge scopes for the same security scheme
            if security_name not in operation_security_dict:
                operation_security_dict[security_name] = []
            for scope in security_dependency.oauth_scopes or []:
                if scope not in operation_security_dict[security_name]:
                    operation_security_dict[security_name].append(scope)
        operation_security = [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

        @app.get("/users/me/items/")
        async def read_own_items(
            current_user: Annotated[User, Security(get_current_active_user, scopes=["items"])]
        ):
            return [{"item_id": "Foo", "owner": current_user.username}]
        ```
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
Back to top