Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for escopos (0.1 sec)

  1. docs/pt/docs/advanced/security/oauth2-scopes.md

    ```
    
    ////
    
    ## Árvore de dependência e escopos
    
    Vamos rever novamente essa árvore de dependência e os escopos.
    
    Como a dependência `get_current_active_user` possui uma subdependência em `get_current_user`, o escopo `"me"` declarado em `get_current_active_user` será incluído na lista de escopos necessários em `security_scopes.scopes` passado para `get_current_user`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. docs/pt/docs/how-to/conditional-openapi.md

    * Nunca armazene senhas em texto simples, apenas hashes de senha.
    * Implemente e use ferramentas criptográficas bem conhecidas, como tokens JWT e Passlib, etc.
    * Adicione controles de permissão mais granulares com escopos OAuth2 quando necessário.
    * ...etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/simple-oauth2.md

    /// tip | Dica
    
    A instância da classe de dependência `OAuth2PasswordRequestForm` não terá um atributo `scope` com a string longa separada por espaços, em vez disso, terá um atributo `scopes` com a lista real de strings para cada escopo enviado.
    
    Não estamos usando `scopes` neste exemplo, mas a funcionalidade está disponível se você precisar.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/security/oauth2-scopes.md

    Aber OAuth2 mit Scopes kann bequem in Ihre API (mit OpenAPI) und deren API-Dokumentation integriert werden.
    
    Dennoch, verwenden Sie solche Scopes oder andere Sicherheits-/Autorisierungsanforderungen in Ihrem Code so wie Sie es möchten.
    
    In vielen Fällen kann OAuth2 mit Scopes ein Overkill sein.
    
    Aber wenn Sie wissen, dass Sie es brauchen oder neugierig sind, lesen Sie weiter.
    
    ///
    
    ## OAuth2-Scopes und OpenAPI
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/security/oauth2-scopes.md

                            * 👉 `security_scopes` 🔢 ✔️ 🏠 `scopes` ⏮️ `list` ⚗ 🌐 👫 ↔ 📣 🔛,:
                                * `security_scopes.scopes` 🔜 🔌 `["me", "items"]` *➡ 🛠️* `read_own_items`.
                                * `security_scopes.scopes` 🔜 🔌 `["me"]` *➡ 🛠️* `read_users_me`, ↩️ ⚫️ 📣 🔗 `get_current_active_user`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/security/oauth2-scopes.md

                            * `security_scopes` 参数的属性 `scopes` 是包含上述声明的所有作用域的**列表**,因此:
                                * `security_scopes.scopes` 包含用于*路径操作*的 `["me", "items"]`
                                * `security_scopes.scopes` 包含*路径操作* `read_users_me` 的 `["me"]`,因为它在依赖项里被声明
                                * `security_scopes.scopes` 包含用于*路径操作* `read_system_status` 的 `[]`(空列表),并且它的依赖项 `get_current_user` 也没有声明任何 `scope`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/security/oauth2-scopes.md

    Nevertheless, you still enforce those scopes, or any other security/authorization requirement, however you need, in your code.
    
    In many cases, OAuth2 with scopes can be an overkill.
    
    But if you know you need it, or you are curious, keep reading.
    
    ///
    
    ## OAuth2 scopes and OpenAPI
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

         *
         * @param scopes The scopes to enable, along with all implied scopes, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(Collection<String> scopes) {
            this.scopes = new HashSet<>();
    
            addScopes(scopes);
        }
    
        /**
         * Creates a new filter that combines the specified filters.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. fastapi/security/oauth2.py

                    or in a cookie).
                    """
                ),
            ] = True,
        ):
            if not scopes:
                scopes = {}
            flows = OAuthFlowsModel(
                password=cast(Any, {"tokenUrl": tokenUrl, "scopes": scopes})
            )
            super().__init__(
                flows=flows,
                scheme_name=scheme_name,
                description=description,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @param scopesToCollect The dependency scopes that should be collected, may be {@code null}.
         * @param scopesToResolve The dependency scopes that should be collected and also resolved, may be {@code null}.
         * @param session         The current build session, must not be {@code null}.
         * @return The transitive dependencies of the specified project that match the requested scopes, never {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top