mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
13 lines
363 B
Go
13 lines
363 B
Go
|
package repository
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
auth_model "github.com/caos/zitadel/internal/auth/model"
|
||
|
org_model "github.com/caos/zitadel/internal/org/model"
|
||
|
)
|
||
|
|
||
|
type OrgRepository interface {
|
||
|
RegisterOrg(context.Context, *auth_model.RegisterOrg) (*auth_model.RegisterOrg, error)
|
||
|
GetOrgIamPolicy(ctx context.Context, orgID string) (*org_model.OrgIamPolicy, error)
|
||
|
}
|