zitadel/internal/domain/policy_domain.go
Fabi 820a21dce3
feat: validate org domains (#3387)
* feat: validate org domain command side

* feat: validate org domain query side

* fix: create domain policy

* feat: add reading domain policy on addorg domain
2022-04-13 11:24:03 +02:00

14 lines
218 B
Go

package domain
import (
"github.com/caos/zitadel/internal/eventstore/v1/models"
)
type DomainPolicy struct {
models.ObjectRoot
UserLoginMustBeDomain bool
ValidateOrgDomains bool
Default bool
}