mirror of
https://github.com/zitadel/zitadel.git
synced 2026-01-04 19:34:22 +00:00
feat: iam members in admin api (#272)
* feat: iam members in admin api * feat: add error id in translate error * fix: resolve merge conflicts
This commit is contained in:
@@ -15,22 +15,24 @@ import (
|
||||
var _ AdminServiceServer = (*Server)(nil)
|
||||
|
||||
type Server struct {
|
||||
port string
|
||||
org repository.OrgRepository
|
||||
port string
|
||||
org repository.OrgRepository
|
||||
iam repository.IamRepository
|
||||
administrator repository.AdministratorRepository
|
||||
verifier auth.TokenVerifier
|
||||
authZ auth.Config
|
||||
repo repository.Repository
|
||||
verifier auth.TokenVerifier
|
||||
authZ auth.Config
|
||||
repo repository.Repository
|
||||
}
|
||||
|
||||
func StartServer(conf grpc_util.ServerConfig, authZRepo *authz_repo.EsRepository, authZ auth.Config, repo repository.Repository) *Server {
|
||||
return &Server{
|
||||
port: conf.Port,
|
||||
org: repo,
|
||||
port: conf.Port,
|
||||
org: repo,
|
||||
iam: repo,
|
||||
administrator: repo,
|
||||
repo: repo,
|
||||
authZ: authZ,
|
||||
verifier: admin_auth.Start(authZRepo),
|
||||
repo: repo,
|
||||
authZ: authZ,
|
||||
verifier: admin_auth.Start(authZRepo),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user