- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 220 for scope (0.03 seconds)
-
docs/en/docs/advanced/security/oauth2-scopes.md
As the `get_current_active_user` dependency has as a sub-dependency on `get_current_user`, the scope `"me"` declared at `get_current_active_user` will be included in the list of required scopes in the `security_scopes.scopes` passed to `get_current_user`. The *path operation* itself also declares a scope, `"items"`, so this will also be in the list of `security_scopes.scopes` passed to `get_current_user`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:49:48 GMT 2025 - 13.5K bytes - Click Count (0) -
docs/ru/docs/advanced/security/oauth2-scopes.md
Для этого используем `security_scopes.scopes`, содержащий `list` со всеми этими scopes как `str`. {* ../../docs_src/security/tutorial005_an_py310.py hl[130:136] *} ## Дерево зависимостей и scopes { #dependency-tree-and-scopes } Ещё раз рассмотрим дерево зависимостей и scopes.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 20.7K bytes - Click Count (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
## Abhängigkeitsbaum und Scopes { #dependency-tree-and-scopes } Sehen wir uns diesen Abhängigkeitsbaum und die Scopes noch einmal an. Da die Abhängigkeit `get_current_active_user` von `get_current_user` abhängt, wird der bei `get_current_active_user` deklarierte Scope `"me"` in die Liste der erforderlichen Scopes in `security_scopes.scopes` aufgenommen, das an `get_current_user` übergeben wird.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 15.7K bytes - Click Count (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
## Token JWT con scopes { #jwt-token-with-scopes } Ahora, modifica la *path operation* del token para devolver los scopes solicitados. Todavía estamos usando el mismo `OAuth2PasswordRequestForm`. Incluye una propiedad `scopes` con una `list` de `str`, con cada scope que recibió en el request. Y devolvemos los scopes como parte del token JWT. /// danger | PeligroCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:15:01 GMT 2025 - 14.2K bytes - Click Count (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.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 22K bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial005.py
return mod def get_access_token( *, username="johndoe", password="secret", scope=None, client: TestClient ): data = {"username": username, "password": password} if scope: data["scope"] = scope response = client.post("/token", data=data) content = response.json() access_token = content.get("access_token") return access_tokenCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 15.8K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} @Override public void setDependencyTrail(List<String> dependencyTrail) { this.dependencyTrail = dependencyTrail; } @Override public void setScope(String scope) { this.scope = scope; } @Override public VersionRange getVersionRange() { return versionRange; } @Override public void setVersionRange(VersionRange versionRange) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 14.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13K bytes - Click Count (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
### <abbr title="Geltungsbereich">`scope`</abbr> { #scope } Ferner sagt die Spezifikation, dass der Client ein weiteres Formularfeld "`scope`" („Geltungsbereich“) senden kann. Der Name des Formularfelds lautet `scope` (im Singular), tatsächlich handelt es sich jedoch um einen langen String mit durch Leerzeichen getrennten „Scopes“. Jeder „Scope“ ist nur ein String (ohne Leerzeichen).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 11.2K bytes - Click Count (0)