- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 931 for Scopes (0.09 sec)
-
cni/pkg/scopes/scopes.go
// limitations under the License. package scopes import ( "istio.io/istio/cni/pkg/constants" "istio.io/istio/pkg/log" ) // Required to get global logging to work var ( CNIAgent = log.RegisterScope(constants.CNIAgentLogScope, "CNI agent scope") CNIPlugin = log.RegisterScope(constants.CNIPluginLogScope, "CNI plugin scope")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 894 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/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/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/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) -
docs_src/security/tutorial005_py39.py
token_scopes = payload.get("scopes", []) token_data = TokenData(scopes=token_scopes, username=username) except (InvalidTokenError, ValidationError): raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception for scope in security_scopes.scopes: if scope not in token_data.scopes:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.2K bytes - Viewed (0) -
chainable_api.go
scopes := db.Statement.scopes db.Statement.scopes = nil for _, scope := range scopes { db = scope(db) } return db } // Preload preload associations with given conditions // // // get all users, and preload all non-cancelled orders // db.Preload("Orders", "state NOT IN (?)", "cancelled").Find(&users) func (db *DB) Preload(query string, args ...interface{}) (tx *DB) { tx = db.getInstance()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 14.8K bytes - Viewed (0) -
docs_src/security/tutorial005_py310.py
token_scopes = payload.get("scopes", []) token_data = TokenData(scopes=token_scopes, username=username) except (InvalidTokenError, ValidationError): raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception for scope in security_scopes.scopes: if scope not in token_data.scopes:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.1K bytes - Viewed (0) -
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),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 14 15:54:46 UTC 2020 - 1.4K bytes - Viewed (0)