Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdateUserIdentity (0.34 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top