Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 506 for cscopes (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.4K bytes
    - Click Count (1)
  3. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * {@return all enabled sources that provide files in the given language for the given scope}.
         * If the given scope is {@code null}, then this method returns the enabled sources for all scopes.
         * If the given language is {@code null}, then this method returns the enabled sources for all languages.
         * An arbitrary number of source roots may exist for the same scope and language.
         * It may be, for example, the case of a multi-versions project.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. 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 {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note | 참고
    
    `Bearer `로 시작하는 값을 가진 `Authorization` 헤더에 주목하십시오.
    
    ///
    
    ## `scopes`의 고급 사용법 { #advanced-usage-with-scopes }
    
    OAuth2에는 "scopes"라는 개념이 있습니다.
    
    이를 사용해 JWT 토큰에 특정 권한 집합을 추가할 수 있습니다.
    
    그런 다음 이 토큰을 사용자에게 직접 제공하거나 제3자에게 제공하여, 특정 제한사항 하에서 API와 상호작용하도록 할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/html/HtmlEscapers.java

     * use of HTML templating systems.
     *
     * @author Sven Mawson
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class HtmlEscapers {
      /**
       * Returns an {@link Escaper} instance that escapes HTML metacharacters as specified by <a
       * href="http://www.w3.org/TR/html4/">HTML 4.01</a>. The resulting strings can be used both in
       * attribute values and in most elements' text contents, provided that the HTML
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

     */
    package org.codelibs.fess.score;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    /**
     * This class updates scores of documents.
     */
    public class ScoreUpdater {
        /**
         * Constructor.
         */
        public ScoreUpdater() {
            super();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

    /**
     * An SPI interface to extend Maven with new enum values for extensible enumerations.
     * <p>
     * Maven uses extensible enumerations to allow plugins and extensions to add new values
     * to various categories like languages, scopes, and packaging types. This interface is the
     * base for all providers that register such extensions.
     * <p>
     * Implementations of this interface are discovered through the Java ServiceLoader mechanism.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. docs/en/docs/how-to/conditional-openapi.md

    * Never store plaintext passwords, only password hashes.
    * Implement and use well-known cryptographic tools, like pwdlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top