Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdateUserIdentity (0.19 sec)

  1. cmd/iam-store.go

    			res = append(res, cred)
    		}
    	}
    	for _, u := range cache.iamSTSAccountsMap {
    		res = append(res, u.Credentials)
    	}
    
    	return res
    }
    
    // UpdateUserIdentity - updates a user credential.
    func (store *IAMStoreSys) UpdateUserIdentity(ctx context.Context, cred auth.Credentials) error {
    	cache := store.lock()
    	defer store.unlock()
    
    	cache.updatedAt = time.Now()
    
    	userType := regUser
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    				continue
    			}
    
    			// Expired credentials don't need group membership updates.
    			if cred.IsExpired() {
    				continue
    			}
    
    			cred.Groups = currGroups
    			if err := sys.store.UpdateUserIdentity(ctx, cred); err != nil {
    				// Log and continue error - perhaps it'll work the next time.
    				iamLogIf(GlobalContext, err)
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top