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