Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for _account (0.57 sec)

  1. tests/helper_test.go

    		"ManagerID", "Active")
    
    	t.Run("Account", func(t *testing.T) {
    		AssertObjEqual(t, user.Account, expect.Account, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Number")
    
    		if user.Account.Number != "" {
    			if !user.Account.UserID.Valid {
    				t.Errorf("Account's foreign key should be saved")
    			} else {
    				var account Account
    				db(unscoped).First(&account, "user_id = ?", user.ID)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tests/associations_has_one_test.go

    	account2 := Account{Number: "account-has-one-replace"}
    
    	if err := DB.Model(&user2).Association("Account").Replace(&account2); err != nil {
    		t.Fatalf("Error happened when append Account, got %v", err)
    	}
    
    	if account2.ID == 0 {
    		t.Fatalf("account2's ID should be created")
    	}
    
    	user.Account = account2
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user2, "Account", 1, "AfterReplace")
    
    	// Delete
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	c.Helper()
    
    	oinfo, err := client.StatObject(ctx, bucket, object, minio.StatObjectOptions{})
    	if err != nil {
    		c.Fatalf("user was unable to download the object: %v", err)
    	}
    
    	if oinfo.UserTagCount != tagCount {
    		c.Fatalf("expected tagCount: %d, got %d", tagCount, oinfo.UserTagCount)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. tests/joins_test.go

    	user := GetUser("TestJoinWithSoftDeletedUser", Config{Account: true, NamedPet: true})
    	DB.Create(&user)
    
    	var user1 User
    	DB.Model(&User{}).Joins("NamedPet").Joins("Account").First(&user1, user.ID)
    	if user1.NamedPet == nil || user1.Account.ID == 0 {
    		t.Fatalf("joins NamedPet and Account should not empty:%v", user1)
    	}
    
    	// Account should empty
    	DB.Delete(&user1.Account)
    
    	var user2 User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. tests/update_has_one_test.go

    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Account = Account{Number: "account-has-one-association"}
    
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Account").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	user.Account.Number += "new"
    	if err := DB.Save(&user).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                    final Set<String> permissionSet = new HashSet<>();
                    final IAccount account = authResult.account();
                    final String homeAccountId = account.homeAccountId();
                    final String username = account.username();
                    if (logger.isDebugEnabled()) {
                        logger.debug("homeAccountId:{} username:{}", homeAccountId, username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. docs/sts/keycloak.md

    - `account` client_id is a confidential client that belongs to the realm `{realm}`
    - `account` client_id is has **Service Accounts Enabled** option enabled.
    - `account` client_id has a custom "Audience" mapper, in the Mappers section.
      - Included Client Audience: security-admin-console
    
    #### Adding 'admin' Role
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    		// For STS policy map, we need to merge the new cache with the existing
    		// cache because the periodic IAM reload is partial. The periodic load
    		// here is to account for STS policy mapping changes that should apply
    		// for service accounts derived from such STS accounts (i.e. LDAP STS
    		// accounts).
    		newCache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
    			cache.iamSTSPolicyMap.Store(k, v)
    			return true
    		})
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  9. tests/update_test.go

    		t.Errorf("should update two records, but got %v", rowsAffected)
    	}
    
    	var results []User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            if (username != null) {
                AccountAttempts account = accountAttempts.computeIfAbsent(username, k -> new AccountAttempts());
                account.recordFailure();
    
                if (account.getFailedAttempts() >= maxAttemptsPerAccount) {
                    account.lockOut(lockoutDuration);
                    totalAccountsLocked.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top