Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 686 for scope2 (0.05 sec)

  1. 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)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

    import org.eclipse.aether.impl.scope.InternalScopeManager;
    import org.eclipse.aether.internal.impl.scope.ManagedDependencyContextRefiner;
    import org.eclipse.aether.internal.impl.scope.ManagedScopeDeriver;
    import org.eclipse.aether.internal.impl.scope.ManagedScopeSelector;
    import org.eclipse.aether.internal.impl.scope.OptionalDependencySelector;
    import org.eclipse.aether.internal.impl.scope.ScopeDependencySelector;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. tests/test_tutorial/test_security/test_tutorial003.py

                                "title": "Password",
                                "type": "string",
                                "format": "password",
                            },
                            "scope": {"title": "Scope", "type": "string", "default": ""},
                            "client_id": {
                                "title": "Client Id",
                                "anyOf": [{"type": "string"}, {"type": "null"}],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. docs/zh/docs/tutorial/security/simple-oauth2.md

    但由于这种用例很常见,FastAPI 为了简便,就直接提供了对它的支持。
    
    ///
    
    ### 使用表单数据
    
    /// tip | 提示
    
    `OAuth2PasswordRequestForm` 类依赖项的实例没有以空格分隔的长字符串属性 `scope`,但它支持 `scopes` 属性,由已发送的 scope 字符串列表组成。
    
    本例没有使用 `scopes`,但开发者也可以根据需要使用该属性。
    
    ///
    
    现在,即可使用表单字段 `username`,从(伪)数据库中获取用户数据。
    
    如果不存在指定用户,则返回错误消息,提示**用户名或密码错误**。
    
    本例使用 `HTTPException` 异常显示此错误:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            private final String scope;
    
            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
                this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : "");
                this.type = type;
                this.scope = scope;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

        this.port = port;
      }
    
      /** See https://api.slack.com/docs/oauth. */
      public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) {
        HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize")
            .addQueryParameter("client_id", clientId)
            .addQueryParameter("scope", scopes)
            .addQueryParameter("redirect_uri", redirectUrl.toString())
            .addQueryParameter("state", state.base64());
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
Back to top