- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 338 for scopes (0.06 sec)
-
docs/pt/docs/advanced/security/oauth2-scopes.md
/// tip | Dica A coisa importante e "mágica" aqui é que `get_current_user` terá diferentes listas de `scopes` para validar para cada *operação de rota*.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 21.7K bytes - Viewed (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
<img src="/img/tutorial/security/image11.png"> ## JWT-Token mit Scopes Ändern Sie nun die Token-*Pfadoperation*, um die angeforderten Scopes zurückzugeben. Wir verwenden immer noch dasselbe `OAuth2PasswordRequestForm`. Es enthält eine Eigenschaft `scopes` mit einer `list`e von `str`s für jeden Scope, den es im Request erhalten hat. Und wir geben die Scopes als Teil des JWT-Tokens zurück. /// danger | "Gefahr"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 22.5K bytes - Viewed (0) -
docs/em/docs/advanced/security/oauth2-scopes.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11K bytes - Viewed (0) -
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` /// tip | "提示"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
For this, we use `security_scopes.scopes`, that contains a `list` with all these scopes as `str`. {* ../../docs_src/security/tutorial005_an_py310.py hl[129:135] *} ## Dependency tree and scopes Let's review again this dependency tree and the scopes.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 11:02:16 UTC 2024 - 13.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java
private Set<String> scopes; /** * Create a new filter with the specified scopes and their implied scopes enabled. * * @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); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
fastapi/security/oauth2.py
data = {} data["scopes"] = [] for scope in form_data.scopes: data["scopes"].append(scope) if form_data.client_id: data["client_id"] = form_data.client_id if form_data.client_secret: data["client_secret"] = form_data.client_secret return data ``` Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
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) -
docs/zh/docs/tutorial/security/oauth2-jwt.md
/// note | "笔记" 注意,请求中 `Authorization` 响应头的值以 `Bearer` 开头。 /// ## `scopes` 高级用法 OAuth2 支持**`scopes`**(作用域)。 **`scopes`**为 JWT 令牌添加指定权限。 让持有令牌的用户或第三方在指定限制条件下与 API 交互。 **高级用户指南**中将介绍如何使用 `scopes`,及如何把 `scopes` 集成至 **FastAPI**。 ## 小结 至此,您可以使用 OAuth2 和 JWT 等标准配置安全的 **FastAPI** 应用。 几乎在所有框架中,处理安全问题很快都会变得非常复杂。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11K bytes - Viewed (0) -
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
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0)