2021-01-06 09:47:55 +00:00
|
|
|
package domain
|
|
|
|
|
|
|
|
import (
|
2021-02-23 14:13:04 +00:00
|
|
|
"github.com/caos/zitadel/internal/eventstore/v1/models"
|
2021-01-06 09:47:55 +00:00
|
|
|
)
|
|
|
|
|
2021-01-12 11:59:51 +00:00
|
|
|
const (
|
|
|
|
IAMID = "IAM"
|
|
|
|
)
|
|
|
|
|
2021-01-06 09:47:55 +00:00
|
|
|
type IAM struct {
|
|
|
|
models.ObjectRoot
|
|
|
|
|
|
|
|
GlobalOrgID string
|
|
|
|
IAMProjectID string
|
|
|
|
SetUpDone Step
|
|
|
|
SetUpStarted Step
|
2021-01-08 10:33:45 +00:00
|
|
|
Members []*Member
|
2021-01-06 09:47:55 +00:00
|
|
|
IDPs []*IDPConfig
|
|
|
|
DefaultLoginPolicy *LoginPolicy
|
|
|
|
DefaultLabelPolicy *LabelPolicy
|
|
|
|
DefaultOrgIAMPolicy *OrgIAMPolicy
|
|
|
|
DefaultPasswordComplexityPolicy *PasswordComplexityPolicy
|
|
|
|
DefaultPasswordAgePolicy *PasswordAgePolicy
|
2021-08-11 06:36:32 +00:00
|
|
|
DefaultPasswordLockoutPolicy *LockoutPolicy
|
2021-01-06 09:47:55 +00:00
|
|
|
}
|