Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 773 for Scopes (0.11 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

    import static org.eclipse.aether.impl.scope.BuildScopeQuery.select;
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.singleton;
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.union;
    
    /**
     * Maven3 scope configurations. Configures scope manager to support Maven3 scopes.
     * <p>
     * This manager supports the old Maven 3 dependency scopes.
     *
     * @since 2.0.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  2. 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());
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
  3. docs/en/docs/reference/dependencies.md

    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 671 bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

    import static org.eclipse.aether.impl.scope.BuildScopeQuery.select;
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.singleton;
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.union;
    
    /**
     * Maven4 scope configurations. Configures scope manager to support Maven4 scopes.
     * <p>
     * This manager supports all the new Maven 4 dependency scopes defined in {@link DependencyScope}.
     *
     * @since 2.0.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  5. tests/test_security_oauth2_authorization_code_bearer.py

                                "authorizationCode": {
                                    "authorizationUrl": "authorize",
                                    "tokenUrl": "token",
                                    "scopes": {},
                                }
                            },
                        }
                    }
                },
            }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. docs/es/llm-prompt.md

    * default values: valores por defecto (do not translate to "valores predeterminados")
    * media type: media type (do not translate to "tipo de medio")
    * instantiate: crear un instance (do not translate to "instanciar")
    * OAuth2 Scopes: Scopes de OAuth2 (do not translate to "Alcances de OAuth2")
    * on the fly: sobre la marcha (do not translate to "al vuelo")
    * terminal: terminal (femenine, as in "la terminal")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note | 注意
    
    注意 `Authorization` 请求头,其值以 `Bearer ` 开头。
    
    ///
    
    ## 使用 `scopes` 的高级用法 { #advanced-usage-with-scopes }
    
    OAuth2 支持 “scopes”(作用域)。
    
    你可以用它们为 JWT 令牌添加一组特定的权限。
    
    然后你可以把这个令牌直接交给用户或第三方,在一组限制条件下与 API 交互。
    
    在**高级用户指南**中你将学习如何使用它们,以及它们如何集成进 **FastAPI**。
    
    ## 小结 { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. tests/test_security_scopes.py

            return "user"
    
        app = FastAPI()
    
        @app.get("/")
        def endpoint(
            db: Annotated[str, Depends(get_db)],
            user: Annotated[str, Security(get_user, scopes=["read"])],
        ):
            return {"db": db}
    
        return app
    
    
    @pytest.fixture(name="client")
    def client_fixture(app: FastAPI):
        return TestClient(app)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1006 bytes
    - Click Count (0)
  9. .gitignore

    # intellij files
    .idea/
    *.iml
    *.ipr
    *.iws
    build-idea/
    # Eclipse and Intellij put there build files in "out"
    out/
    
    # include shared intellij config
    !.idea/scopes/x_pack.xml
    !.idea/inspectionProfiles/Project_Default.xml
    !.idea/runConfigurations/Debug_Elasticsearch.xml
    !.idea/checkstyle-idea.xml
    
    # These files are generated in the main tree by IntelliJ
    benchmarks/src/main/generated/*
    
    # eclipse files
    .project
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  10. 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 = [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top