Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 214 for escopos (0.08 seconds)

  1. docs/ru/docs/tutorial/security/oauth2-jwt.md

    /// note | Техническая информация
    
    Обратите внимание на HTTP-заголовок `Authorization`, значение которого начинается с `Bearer `.
    
    ///
    
    ## Продвинутое использование `scopes` { #advanced-usage-with-scopes }
    
    В OAuth2 существует понятие "диапазоны" ("`scopes`").
    
    С их помощью можно добавить определенный набор разрешений к JWT-токену.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  2. fastapi/param_functions.py

                in cases to roles.
    
                These scopes are integrated with OpenAPI (and the API docs at `/docs`).
                So they are visible in the OpenAPI specification.
    
                Read more about it in the
                [FastAPI docs about OAuth2 scopes](https://fastapi.tiangolo.com/advanced/security/oauth2-scopes/)
                """
            ),
        ] = None,
        use_cache: Annotated[
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  3. .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)
  4. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

              || c > safeMaxChar
              || c < safeMinChar) {
            return escapeSlow(s, i);
          }
        }
        return s;
      }
    
      /**
       * Escapes a single Unicode code point using the replacement array and safe range values. If the
       * given character does not have an explicit replacement and lies outside the safe range then
       * {@link #escapeUnsafe} is called.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

          char c = s.charAt(i);
          if ((c < replacementsLength && replacements[c] != null) || c > safeMax || c < safeMin) {
            return escapeSlow(s, i);
          }
        }
        return s;
      }
    
      /**
       * Escapes a single character using the replacement array and safe range values. If the given
       * character does not have an explicit replacement and lies outside the safe range then {@link
       * #escapeUnsafe} is called.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            if (value.split("\\s").length > 1) {
                return new StringBuilder().append('"').append(value.replace('"', ' ')).append('"').toString();
            }
            return value;
        }
    
        /**
         * Escapes special characters in a query string if escaping is enabled.
         * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array.
         *
         * @param value the query string to escape
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. fastapi/openapi/utils.py

                    operation_security_dict[security_name].append(scope)
        operation_security = [
            {name: scopes} for name, scopes in operation_security_dict.items()
        ]
        return security_definitions, operation_security
    
    
    def _get_openapi_operation_parameters(
        *,
        dependant: Dependant,
        model_name_map: ModelNameMap,
        field_mapping: dict[
    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)
  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. docs/de/docs/tutorial/security/simple-oauth2.md

    Die Instanz der Klassenabhängigkeit `OAuth2PasswordRequestForm` verfügt, statt eines Attributs `scope` mit dem durch Leerzeichen getrennten langen String, über das Attribut `scopes` mit einer tatsächlichen Liste von Strings, einem für jeden gesendeten Scope.
    
    In diesem Beispiel verwenden wir keine `scopes`, aber die Funktionalität ist vorhanden, wenn Sie sie benötigen.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/security/simple-oauth2.md

    /// tip
    
    The instance of the dependency class `OAuth2PasswordRequestForm` won't have an attribute `scope` with the long string separated by spaces, instead, it will have a `scopes` attribute with the actual list of strings for each scope sent.
    
    We are not using `scopes` in this example, but the functionality is there if you need it.
    
    ///
    
    Now, get the user data from the (fake) database, using the `username` from the form field.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
Back to Top