- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 161 for userId (0.05 seconds)
-
docs/en/docs/tutorial/security/oauth2-jwt.md
That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/response-model.md
/// note | 技術詳細 レスポンスモデルは、関数の戻り値のアノテーションではなく、このパラメータで宣言されています。なぜなら、パス関数は実際にはそのレスポンスモデルを返すのではなく、`dict`やデータベースオブジェクト、あるいは他のモデルを返し、`response_model`を使用してフィールドの制限やシリアライズを行うからです。 /// ## 同じ入力データの返却 ここでは`UserIn`モデルを宣言しています。それには平文のパスワードが含まれています: {* ../../docs_src/response_model/tutorial002.py hl[9,11] *} そして、このモデルを使用して入力を宣言し、同じモデルを使って出力を宣言しています: {* ../../docs_src/response_model/tutorial002.py hl[17,18] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9K bytes - Click Count (0) -
cmd/admin-handlers-users_test.go
if err == nil { c.Fatalf("user account was not disabled!") } // 5. Check that user can be deleted and verify it. err = s.adm.RemoveUser(ctx, accessKey) if err != nil { c.Fatalf("user could not be deleted: %v", err) } usersMap, err = s.adm.ListUsers(ctx) if err != nil { c.Fatalf("error listing: %v", err) } _, ok = usersMap[accessKey] if ok { c.Fatalf("user not deleted: %s", accessKey) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 50.6K bytes - Click Count (0) -
cmd/iam-store.go
return nil, err } m.Range(func(user string, mappedPolicy MappedPolicy) bool { if userPredicate != nil && !userPredicate(user) { return true } stsMap[user] = mappedPolicy.Policies return true }) for user := range store.getParentUsers(cache) { if _, ok := stsMap[user]; !ok { if userPredicate != nil && !userPredicate(user) { continue } stsMap[user] = ""
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0) -
cmd/utils.go
// OpenIDClientAppParams - contains openID client application params, used in // testing. type OpenIDClientAppParams struct { ClientID, ClientSecret, ProviderURL, RedirectURL string } // MockOpenIDTestUserInteraction - tries to login to dex using provided credentials. // It performs the user's browser interaction to login and retrieves the auth // code from dex and exchanges it for a JWT.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
* for the corresponding scope and language. This rule exists because * Maven provides default values for those elements which may conflict * with user's configuration. */ if (!hasScript) { project.addScriptSourceRoot(build.getScriptSourceDirectory()); } if (!hasMain) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
cmd/iam.go
if _, ok := cleanQ.Users[user]; !ok { cleanQ.Users[user] = nil } } // Validate and normalize groups. for _, group := range q.Groups { lookupRes, underDN, _ := sys.LDAPConfig.GetValidatedGroupDN(nil, group) if lookupRes != nil && underDN { cleanQ.Groups.Add(lookupRes.NormDN) } } } else { for _, user := range q.Users { info, err := sys.store.GetUserInfo(user)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
elements are not used for inferring the path (they are still used as compiler options however). It means that for scripts and resources, the files below the path specified by {@code directory} are copied to the path specified by {@code targetPath} with the exact same directory structure.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 26 03:07:35 GMT 2025 - 133.3K bytes - Click Count (0) -
docs/en/docs/release-notes.md
```Python def get_current_user(token: str): # authenticate user return User() @app.get("/items/") def read_items(user: User = Depends(get_current_user)): ... @app.post("/items/") def create_item(*, user: User = Depends(get_current_user), item: Item): ... @app.get("/items/{item_id}") def read_item(*, user: User = Depends(get_current_user), item_id: int): ...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0) -
RELEASE.md
* New `tf.data.Dataset.reduce()` API allows users to reduce a finite dataset to a single element using a user-provided reduce function. * New `tf.data.Dataset.window()` API allows users to create finite windows of input dataset; when combined with the `tf.data.Dataset.reduce()` API, this allows users to implement customized batching.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Oct 28 22:27:41 GMT 2025 - 740.4K bytes - Click Count (3)