Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,632 for user2 (0.02 sec)

  1. docs/zh/docs/tutorial/path-params.md

    下一章介绍详细内容。
    
    ## 顺序很重要
    
    有时,*路径操作*中的路径是写死的。
    
    比如要使用 `/users/me` 获取当前用户的数据。
    
    然后还要使用 `/users/{user_id}`,通过用户 ID 获取指定用户的数据。
    
    由于*路径操作*是按顺序依次运行的,因此,一定要在 `/users/{user_id}` 之前声明 `/users/me` :
    
    {* ../../docs_src/path_params/tutorial003.py hl[6,11] *}
    
    否则,`/users/{user_id}` 将匹配 `/users/me`,FastAPI 会**认为**正在接收值为 `"me"` 的 `user_id` 参数。
    
    ## 预设值
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 15 16:43:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-params.md

    Como `/users/me`, digamos que seja para obter dados sobre o usuário atual.
    
    E então você também pode ter um path `/users/{user_id}` para obter dados sobre um usuário específico por algum ID de usuário.
    
    Como as *operações de rota* são avaliadas em ordem, você precisa garantir que o path para `/users/me` seja declarado antes do de `/users/{user_id}`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        Property<String> getSomeProperty()
    }
    class Example {
        Property<NestedType> getNestedProperty()
    }
    ```
    
    This is unnecessary because users will have trouble creating instances of `NestedType` and merging different instances of `NestedType`. It's also more awkward for users to access the properties in the nested property.
    
    If the nested type is a managed type (Gradle can generate its implementation), you can define a nested property with:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. tests/main_test.go

    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. 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] = ""
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 87.1K bytes
    - Viewed (0)
  6. internal/config/identity/plugin/config.go

    	}
    	go plugin.doPeriodicHealthCheck()
    	return &plugin
    }
    
    // AuthNSuccessResponse - represents the response from the authentication plugin
    // service.
    type AuthNSuccessResponse struct {
    	User               string         `json:"user"`
    	MaxValiditySeconds int            `json:"maxValiditySeconds"`
    	Claims             map[string]any `json:"claims"`
    }
    
    // AuthNErrorResponse - represents an error response from the authN plugin.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ACE.java

    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.Hexdump;
    
    /**
     * An Access Control Entry (ACE) is an element in a security descriptor
     * such as those associated with files and directories. The Windows OS
     * determines which users have the necessary permissions to access objects
     * based on these entries.
     * <p>
     * To fully understand the information exposed by this class a description
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. cmd/common-main.go

    	// Check both cases and authenticate them if correctly defined
    	var user, password string
    	var legacyCredentials bool
    	//nolint:gocritic
    	if env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		user = env.Get(config.EnvRootUser, "")
    		password = env.Get(config.EnvRootPassword, "")
    	} else if env.IsSet(config.EnvAccessKey) && env.IsSet(config.EnvSecretKey) {
    		user = env.Get(config.EnvAccessKey, "")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  9. src/main/java/jcifs/SidResolver.java

        /**
         * This specialized method returns a Map of users and local groups for the
         * target server where keys are SIDs representing an account and each value
         * is an ArrayList of SIDs represents the local groups that the account is
         * a member of.
         *
         * This method is designed to assist with computing access control for a
         * given user when the target object's ACL has local groups. Local groups
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/security/oauth2-scopes.md

    Si no seleccionas ningún scope, estarás "autenticado", pero cuando intentes acceder a `/users/me/` o `/users/me/items/` obtendrás un error diciendo que no tienes suficientes permisos. Aún podrás acceder a `/status/`.
    
    Y si seleccionas el scope `me` pero no el scope `items`, podrás acceder a `/users/me/` pero no a `/users/me/items/`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top