Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 593 for cscopes (0.04 sec)

  1. compat/maven-model-builder/src/test/resources/poms/validation/bad-import-scope-classifier.xml

      <version>0.1</version>
    
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>test</groupId>
            <artifactId>a</artifactId>
            <version>0.1</version>
            <scope>import</scope>
            <type>pom</type>
            <classifier>cls</classifier>
          </dependency>
        </dependencies>
      </dependencyManagement>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. 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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 33.5K bytes
    - Viewed (0)
  3. tests/test_security_scopes_sub_dependency.py

            call_counts["get_current_user"] += 1
            return {
                "user": f"user_{call_counts['get_current_user']}",
                "scopes": security_scopes.scopes,
                "db_session": db_session,
            }
    
        def get_user_me(
            current_user: Annotated[dict, Security(get_current_user, scopes=["me"])],
        ):
            call_counts["get_user_me"] += 1
            return {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            Artifact artifact = request.getArtifact();
    
            //
            // If we have a system scoped artifact, then we do not want any searching in local or remote repositories,
            // and we want artifact resolution to only return the system scoped artifact itself.
            //
            if (artifact.getScope() != null && artifact.getScope().equals(Artifact.SCOPE_SYSTEM)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. tests/test_dependency_security_overrides.py

        return "john", required_scopes.scopes
    
    
    def get_user_override(required_scopes: SecurityScopes):
        return "alice", required_scopes.scopes
    
    
    def get_data():
        return [1, 2, 3]
    
    
    def get_data_override():
        return [3, 4, 5]
    
    
    @app.get("/user")
    def read_user(
        user_data: tuple[str, list[str]] = Security(get_user, scopes=["foo", "bar"]),
        data: list[int] = Depends(get_data),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.4K bytes
    - Viewed (1)
  6. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

        dependencies=[Security(oauth2_scheme, scopes=["read", "write"])],
    )
    async def read_with_oauth2_scheme():
        return {"message": "Admin Access"}
    
    
    @app.get(
        "/with-get-token", dependencies=[Security(get_token, scopes=["read", "write"])]
    )
    async def read_with_get_token():
        return {"message": "Admin Access"}
    
    
    router = APIRouter(dependencies=[Security(oauth2_scheme, scopes=["read"])])
    
    
    @router.get("/items/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

      /** Shows a browser URL to authorize this app to act as this user. */
      public void requestOauthSession(String scopes, String team) throws Exception {
        if (sessionFactory == null) {
          sessionFactory = new OAuthSessionFactory(slackApi);
          sessionFactory.start();
        }
    
        HttpUrl authorizeUrl = sessionFactory.newAuthorizeUrl(scopes, team, session -> {
          initOauthSession(session);
          System.out.printf("session granted: %s\n", session);
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1006 bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/security/oauth2-jwt.md

    /// note | Техническая информация
    Обратите внимание на HTTP-заголовок `Authorization`, значение которого начинается с `Bearer `.
    ///
    
    ## Продвинутое использование `scopes` { #advanced-usage-with-scopes }
    
    В OAuth2 существует понятие "диапазоны" ("`scopes`").
    
    С их помощью можно добавить определенный набор разрешений к JWT-токену.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top