Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for UserIn (0.08 sec)

  1. docs/en/docs/tutorial/response-model.md

    `BaseUser` has the base fields. Then `UserIn` inherits from `BaseUser` and adds the `password` field, so, it will include all the fields from both models.
    
    We annotate the function return type as `BaseUser`, but we are actually returning a `UserIn` instance.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    #### Pydantic's `.dict()` { #pydantics-dict }
    
    `user_in` is a Pydantic model of class `UserIn`.
    
    Pydantic models have a `.dict()` method that returns a `dict` with the model's data.
    
    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-ldap.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	userDN := r.Form.Get("userDN")
    
    	// If listing is requested for a specific user (who is not the request
    	// sender), check that the user has permissions.
    	if userDN != "" && userDN != cred.ParentUser {
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:46:04 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            final String userDN = fessConfig.getLdapAdminUserSecurityPrincipal(user.getName());
            // attributes
            search(fessConfig.getLdapAdminUserBaseDn(), fessConfig.getLdapAdminUserFilter(user.getName()), null, adminEnv, result -> {
                if (!result.isEmpty()) {
                    modifyUserAttributes(user, adminEnv, userDN, result);
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/query-params.md

    sería lo mismo que ir a:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Pero si vas a, por ejemplo:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Los valores de los parámetros en tu función serán:
    
    * `skip=20`: porque lo configuraste en la URL
    * `limit=10`: porque ese era el valor por defecto
    
    ## Parámetros opcionales
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/path-params.md

    Al heredar de `str`, la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá representarlos correctamente.
    
    Luego crea atributos de clase con valores fijos, que serán los valores válidos disponibles:
    
    {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *}
    
    /// info | Información
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    			c.Fatalf("export %d: policy add error: %v", caseNum, err)
    		}
    	}
    
    	for userDN, policies := range content.ldapUserPolicyMappings {
    		// No need to detach, we are starting from a clean slate after exporting.
    		_, err := s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{
    			Policies: policies,
    			User:     userDN,
    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach policy: %v", caseNum, err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  8. docs/es/docs/advanced/security/oauth2-scopes.md

    Serán verificados independientemente para cada *path operation*.
    
    ## Revisa
    
    Si abres la documentación de la API, puedes autenticarte y especificar qué scopes deseas autorizar.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top