Identity: Add read-only identity apiserver (#90418)

This commit is contained in:
Ryan McKinley
2024-07-26 17:09:08 +03:00
committed by GitHub
parent be7b1ce2df
commit ec6c6bd6c3
36 changed files with 1764 additions and 269 deletions
+19 -1
View File
@@ -98,6 +98,19 @@ type UpdateUserLastSeenAtCommand struct {
OrgID int64
}
type ListUsersCommand struct {
OrgID int64
Limit int64
ContinueID int64
IsServiceAccount bool
}
type ListUserResult struct {
Users []*User
ContinueID int64
RV int64
}
type SearchUsersQuery struct {
SignedInUser identity.Requester
OrgID int64 `xorm:"org_id"`
@@ -120,7 +133,7 @@ type SearchUserQueryResult struct {
type UserSearchHitDTO struct {
ID int64 `json:"id" xorm:"id"`
UID string `json:"uid" xorm:"id"`
UID string `json:"uid" xorm:"uid"`
Name string `json:"name"`
Login string `json:"login"`
Email string `json:"email"`
@@ -206,6 +219,11 @@ type GetUserByIDQuery struct {
ID int64
}
type GetUserByUIDQuery struct {
OrgID int64
UID string
}
type StartVerifyEmailCommand struct {
User User
Email string