- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for userId (0.1 sec)
-
utils/tests/models.go
Friends []*User `gorm:"many2many:user_friends;"` Active bool } type Account struct { gorm.Model UserID sql.NullInt64 Number string } type Pet struct { gorm.Model UserID *uint Name string Toy Toy `gorm:"polymorphic:Owner;"` } type Toy struct { gorm.Model Name string OwnerID string OwnerType string } type Tools struct {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Dec 15 08:36:08 UTC 2023 - 2.1K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSession.java
this.ok = ok; this.access_token = accessToken; this.scope = scope; this.user_id = userId; this.team_name = teamName; this.team_id = teamId; } @Override public String toString() { return String.format("(ok=%s, access_token=%s, scope=%s, user_id=%s, team_name=%s, team_id=%s)", ok, access_token, scope, user_id, team_name, team_id); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Oct 23 15:24:22 UTC 2016 - 1.4K bytes - Viewed (0) -
tests/helper_test.go
} } func CheckUserUnscoped(t *testing.T, user User, expect User) { doCheckUser(t, user, expect, true) } func CheckUser(t *testing.T, user User, expect User) { doCheckUser(t, user, expect, false) } func doCheckUser(t *testing.T, user User, expect User, unscoped bool) { if user.ID != 0 { var newUser User if err := db(unscoped).Where("id = ?", user.ID).First(&newUser).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
k.accessToken = accessToken k.Unlock() return nil } // LookupUser lookup user by their userid. func (k *KeycloakProvider) LookupUser(userid string) (User, error) { req, err := http.NewRequest(http.MethodGet, k.adminURL, nil) if err != nil { return User{}, err } req.URL.Path = path.Join(req.URL.Path, "realms", k.realm, "users", userid) k.Lock() accessToken := k.accessToken k.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/config/identity/openid/provider/provider.go
) // Provider implements identity provider specific admin operations, such as // looking up users, fetching additional attributes etc. type Provider interface { LoginWithUser(username, password string) error LoginWithClientID(clientID, clientSecret string) error LookupUser(userid string) (User, error)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/sts/keycloak.md
The following example shows how to get the details of the user with `{userid}` from `{realm}` realm: ``` curl \ -H "Authorization: Bearer eyJhbGciOiJSUz..." \ "http://localhost:8080/auth/admin/realms/{realm}/users/{userid}" ``` ### Configure MinIO ``` export MINIO_ROOT_USER=minio export MINIO_ROOT_PASSWORD=minio123 minio server /mnt/export
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 8.1K bytes - Viewed (0) -
docs/sts/dex.yaml
connectors: - type: mockCallback id: mock name: Example # Let dex keep a list of passwords which can be used to login to dex. enablePasswordDB: true # A static list of passwords to login the end user. By identifying here, dex # won't look in its underlying storage for passwords. # # If this option isn't chosen users may be added through the gRPC API. staticPasswords: - email: "******@****.***"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 15 11:55:55 UTC 2020 - 2.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
.addValue(15.0f); } }; void addEntries(MoreObjects.ToStringHelper helper) {} } @Param Dataset dataset; private static final String SHORT_NAME = "userId"; private static final String LONG_NAME = "fluxCapacitorFailureRate95Percentile"; private MoreObjects.ToStringHelper newHelper() { MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("klass");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0) -
tests/update_has_one_test.go
CheckUser(t, user2, user) user.Account.Number += "new" if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user3 User DB.Preload("Account").Find(&user3, "id = ?", user.ID) CheckUser(t, user2, user3) lastUpdatedAt := user2.Account.UpdatedAt time.Sleep(time.Second) if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
cmd/bucket-policy.go
claims = cred.Claims groups = cred.Groups ) if cred.IsTemp() || cred.IsServiceAccount() { // For derived credentials, check the parent user's permissions. username = cred.ParentUser } principalType := "Anonymous" if username != "" { principalType = "User" if len(claims) > 0 { principalType = "AssumedRole" } if username == globalActiveCred.AccessKey { principalType = "Account" } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0)