mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 04:18:01 +00:00
62b654ea18
* feat: iam members in admin api * feat: add error id in translate error * fix: resolve merge conflicts
16 lines
539 B
Go
16 lines
539 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
iam_model "github.com/caos/zitadel/internal/iam/model"
|
|
)
|
|
|
|
type IamRepository interface {
|
|
SearchIamMembers(ctx context.Context, request *iam_model.IamMemberSearchRequest) (*iam_model.IamMemberSearchResponse, error)
|
|
AddIamMember(ctx context.Context, member *iam_model.IamMember) (*iam_model.IamMember, error)
|
|
ChangeIamMember(ctx context.Context, member *iam_model.IamMember) (*iam_model.IamMember, error)
|
|
RemoveIamMember(ctx context.Context, userID string) error
|
|
|
|
GetIamMemberRoles() []string
|
|
}
|