Documentation ¶
Index ¶
- Constants
- func ChangeAllowExternalIDP(allowExternalIDP bool) func(*LoginPolicyChangedEvent)
- func ChangeAllowRegister(allowRegister bool) func(*LoginPolicyChangedEvent)
- func ChangeAllowUserNamePassword(allowUserNamePassword bool) func(*LoginPolicyChangedEvent)
- func ChangeBackgroundColor(background string) func(*LabelPolicyChangedEvent)
- func ChangeBackgroundColorDark(backgroundColorDark string) func(*LabelPolicyChangedEvent)
- func ChangeButtonText(buttonText string) func(*MailTextChangedEvent)
- func ChangeDisableWatermark(disableWatermark bool) func(*LabelPolicyChangedEvent)
- func ChangeErrorMsgPopup(errMsgPopup bool) func(*LabelPolicyChangedEvent)
- func ChangeExpireWarnDays(expireWarnDay uint64) func(*PasswordAgePolicyChangedEvent)
- func ChangeFontColor(fontColor string) func(*LabelPolicyChangedEvent)
- func ChangeFontColorDark(fontColorDark string) func(*LabelPolicyChangedEvent)
- func ChangeForceMFA(forceMFA bool) func(*LoginPolicyChangedEvent)
- func ChangeGreeting(greeting string) func(*MailTextChangedEvent)
- func ChangeHasLowercase(hasLowercase bool) func(*PasswordComplexityPolicyChangedEvent)
- func ChangeHasNumber(hasNumber bool) func(*PasswordComplexityPolicyChangedEvent)
- func ChangeHasSymbol(hasSymbol bool) func(*PasswordComplexityPolicyChangedEvent)
- func ChangeHasUppercase(hasUppercase bool) func(*PasswordComplexityPolicyChangedEvent)
- func ChangeHelpLink(helpLink string) func(*PrivacyPolicyChangedEvent)
- func ChangeHideLoginNameSuffix(hideLoginNameSuffix bool) func(*LabelPolicyChangedEvent)
- func ChangeHidePasswordReset(hidePasswordReset bool) func(*LoginPolicyChangedEvent)
- func ChangeIgnoreUnknownUsernames(ignoreUnknownUsernames bool) func(*LoginPolicyChangedEvent)
- func ChangeMaxAgeDays(maxAgeDays uint64) func(*PasswordAgePolicyChangedEvent)
- func ChangeMaxAttempts(maxAttempts uint64) func(*LockoutPolicyChangedEvent)
- func ChangeMinLength(minLength uint64) func(*PasswordComplexityPolicyChangedEvent)
- func ChangePasswordlessType(passwordlessType domain.PasswordlessType) func(*LoginPolicyChangedEvent)
- func ChangePreHeader(preHeader string) func(*MailTextChangedEvent)
- func ChangePrimaryColor(primaryColor string) func(*LabelPolicyChangedEvent)
- func ChangePrimaryColorDark(primaryColorDark string) func(*LabelPolicyChangedEvent)
- func ChangePrivacyLink(privacyLink string) func(*PrivacyPolicyChangedEvent)
- func ChangeShowLockOutFailures(showLockOutFailures bool) func(*LockoutPolicyChangedEvent)
- func ChangeSubject(greeting string) func(*MailTextChangedEvent)
- func ChangeTOSLink(tosLink string) func(*PrivacyPolicyChangedEvent)
- func ChangeTemplate(template []byte) func(*MailTemplateChangedEvent)
- func ChangeText(text string) func(*MailTextChangedEvent)
- func ChangeTitle(title string) func(*MailTextChangedEvent)
- func ChangeUserLoginMustBeDomain(userLoginMustBeDomain bool) func(*OrgIAMPolicyChangedEvent)
- func ChangeWarnColor(warnColor string) func(*LabelPolicyChangedEvent)
- func ChangeWarnColorDark(warnColorDark string) func(*LabelPolicyChangedEvent)
- func CustomTextRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func CustomTextSetEventMapper(event *repository.Event) (eventstore.Event, error)
- func CustomTextTemplateRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IdentityProviderAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IdentityProviderCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IdentityProviderRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyActivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyAssetsRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyFontAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyFontRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyIconRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyLogoRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LabelPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LockoutPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LockoutPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LoginPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LoginPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LoginPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTemplateChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTemplateRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTextAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTextChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTextRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MultiFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MultiFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func NewAddMailTextUniqueConstraint(aggregateID, mailTextType, langugage string) *eventstore.EventUniqueConstraint
- func NewRemoveMailTextUniqueConstraint(aggregateID, mailTextType, langugage string) *eventstore.EventUniqueConstraint
- func OrgIAMPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func OrgIAMPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func OrgIAMPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordAgePolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordAgePolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordAgePolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordComplexityPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordComplexityPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PrivacyPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PrivacyPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PrivacyPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecondFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecondFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- type CustomTextRemovedEvent
- type CustomTextSetEvent
- type CustomTextTemplateRemovedEvent
- type IdentityProviderAddedEvent
- type IdentityProviderCascadeRemovedEvent
- type IdentityProviderRemovedEvent
- type LabelPolicyActivatedEvent
- type LabelPolicyAddedEvent
- type LabelPolicyAssetsRemovedEvent
- type LabelPolicyChangedEvent
- type LabelPolicyChanges
- type LabelPolicyFontAddedEvent
- type LabelPolicyFontRemovedEvent
- type LabelPolicyIconAddedEvent
- type LabelPolicyIconDarkAddedEvent
- type LabelPolicyIconDarkRemovedEvent
- type LabelPolicyIconRemovedEvent
- type LabelPolicyLogoAddedEvent
- type LabelPolicyLogoDarkAddedEvent
- type LabelPolicyLogoDarkRemovedEvent
- type LabelPolicyLogoRemovedEvent
- type LabelPolicyRemovedEvent
- type LockoutPolicyAddedEvent
- type LockoutPolicyChangedEvent
- type LockoutPolicyChanges
- type LockoutPolicyRemovedEvent
- type LoginPolicyAddedEvent
- type LoginPolicyChangedEvent
- type LoginPolicyChanges
- type LoginPolicyRemovedEvent
- type MailTemplateAddedEvent
- type MailTemplateChangedEvent
- type MailTemplateChanges
- type MailTemplateRemovedEvent
- type MailTextAddedEvent
- type MailTextChangedEvent
- type MailTextChanges
- type MailTextRemovedEvent
- type MultiFactorAddedEvent
- type MultiFactorRemovedEvent
- type OrgIAMPolicyAddedEvent
- type OrgIAMPolicyChangedEvent
- type OrgIAMPolicyChanges
- type OrgIAMPolicyRemovedEvent
- type PasswordAgePolicyAddedEvent
- type PasswordAgePolicyChangedEvent
- type PasswordAgePolicyChanges
- type PasswordAgePolicyRemovedEvent
- type PasswordComplexityPolicyAddedEvent
- type PasswordComplexityPolicyChangedEvent
- type PasswordComplexityPolicyChanges
- type PasswordComplexityPolicyRemovedEvent
- type PrivacyPolicyAddedEvent
- type PrivacyPolicyChangedEvent
- type PrivacyPolicyChanges
- type PrivacyPolicyRemovedEvent
- type SecondFactorAddedEvent
- type SecondFactorRemovedEvent
Constants ¶
View Source
const ( CustomTextSetEventType = customTextPrefix + "set" CustomTextRemovedEventType = customTextPrefix + "removed" CustomTextTemplateRemovedEventType = customTextPrefix + "template.removed" )
View Source
const ( LabelPolicyAddedEventType = "policy.label.added" LabelPolicyChangedEventType = "policy.label.changed" LabelPolicyActivatedEventType = "policy.label.activated" LabelPolicyLogoAddedEventType = "policy.label.logo.added" LabelPolicyLogoRemovedEventType = "policy.label.logo.removed" LabelPolicyIconAddedEventType = "policy.label.icon.added" LabelPolicyIconRemovedEventType = "policy.label.icon.removed" LabelPolicyLogoDarkAddedEventType = "policy.label.logo.dark.added" LabelPolicyLogoDarkRemovedEventType = "policy.label.logo.dark.removed" LabelPolicyIconDarkAddedEventType = "policy.label.icon.dark.added" LabelPolicyIconDarkRemovedEventType = "policy.label.icon.dark.removed" LabelPolicyFontAddedEventType = "policy.label.font.added" LabelPolicyFontRemovedEventType = "policy.label.font.removed" LabelPolicyAssetsRemovedEventType = "policy.label.assets.removed" LabelPolicyRemovedEventType = "policy.label.removed" )
View Source
const ( LoginPolicyAddedEventType = loginPolicyPrefix + "added" LoginPolicyChangedEventType = loginPolicyPrefix + "changed" LoginPolicyRemovedEventType = loginPolicyPrefix + "removed" )
View Source
const ( MailTemplatePolicyAddedEventType = mailTemplatePolicyPrefix + "added" MailTemplatePolicyChangedEventType = mailTemplatePolicyPrefix + "changed" MailTemplatePolicyRemovedEventType = mailTemplatePolicyPrefix + "removed" )
View Source
const ( UniqueMailText = "mail_text" MailTextPolicyAddedEventType = mailTextPolicyPrefix + "added" MailTextPolicyChangedEventType = mailTextPolicyPrefix + "changed" MailTextPolicyRemovedEventType = mailTextPolicyPrefix + "removed" )
View Source
const ( LoginPolicySecondFactorAddedEventType = loginPolicySecondFactorPrefix + "added" LoginPolicySecondFactorRemovedEventType = loginPolicySecondFactorPrefix + "removed" LoginPolicyMultiFactorAddedEventType = loginPolicyMultiFactorPrefix + "added" LoginPolicyMultiFactorRemovedEventType = loginPolicyMultiFactorPrefix + "removed" )
View Source
const ( LoginPolicyIDPProviderAddedType = loginPolicyIDPProviderPrevix + "added" LoginPolicyIDPProviderRemovedType = loginPolicyIDPProviderPrevix + "removed" LoginPolicyIDPProviderCascadeRemovedType = loginPolicyIDPProviderPrevix + "cascade.removed" )
View Source
const ( //TODO: use for org events as suffix (when possible) OrgIAMPolicyAddedEventType = "policy.org.iam.added" OrgIAMPolicyChangedEventType = "policy.org.iam.changed" )
View Source
const ( PasswordAgePolicyAddedEventType = "policy.password.age.added" PasswordAgePolicyChangedEventType = "policy.password.age.changed" PasswordAgePolicyRemovedEventType = "policy.password.age.removed" )
View Source
const ( PasswordComplexityPolicyAddedEventType = "policy.password.complexity.added" PasswordComplexityPolicyChangedEventType = "policy.password.complexity.changed" PasswordComplexityPolicyRemovedEventType = "policy.password.complexity.removed" )
View Source
const ( LockoutPolicyAddedEventType = "policy.lockout.added" LockoutPolicyChangedEventType = "policy.lockout.changed" LockoutPolicyRemovedEventType = "policy.lockout.removed" )
View Source
const ( PrivacyPolicyAddedEventType = "policy.privacy.added" PrivacyPolicyChangedEventType = "policy.privacy.changed" PrivacyPolicyRemovedEventType = "policy.privacy.removed" )
Variables ¶
This section is empty.
Functions ¶
func ChangeAllowExternalIDP ¶
func ChangeAllowExternalIDP(allowExternalIDP bool) func(*LoginPolicyChangedEvent)
func ChangeAllowRegister ¶
func ChangeAllowRegister(allowRegister bool) func(*LoginPolicyChangedEvent)
func ChangeAllowUserNamePassword ¶
func ChangeAllowUserNamePassword(allowUserNamePassword bool) func(*LoginPolicyChangedEvent)
func ChangeBackgroundColor ¶
func ChangeBackgroundColor(background string) func(*LabelPolicyChangedEvent)
func ChangeBackgroundColorDark ¶
func ChangeBackgroundColorDark(backgroundColorDark string) func(*LabelPolicyChangedEvent)
func ChangeButtonText ¶
func ChangeButtonText(buttonText string) func(*MailTextChangedEvent)
func ChangeDisableWatermark ¶
func ChangeDisableWatermark(disableWatermark bool) func(*LabelPolicyChangedEvent)
func ChangeErrorMsgPopup ¶
func ChangeErrorMsgPopup(errMsgPopup bool) func(*LabelPolicyChangedEvent)
func ChangeExpireWarnDays ¶
func ChangeExpireWarnDays(expireWarnDay uint64) func(*PasswordAgePolicyChangedEvent)
func ChangeFontColor ¶
func ChangeFontColor(fontColor string) func(*LabelPolicyChangedEvent)
func ChangeFontColorDark ¶
func ChangeFontColorDark(fontColorDark string) func(*LabelPolicyChangedEvent)
func ChangeForceMFA ¶
func ChangeForceMFA(forceMFA bool) func(*LoginPolicyChangedEvent)
func ChangeGreeting ¶
func ChangeGreeting(greeting string) func(*MailTextChangedEvent)
func ChangeHasLowercase ¶
func ChangeHasLowercase(hasLowercase bool) func(*PasswordComplexityPolicyChangedEvent)
func ChangeHasNumber ¶
func ChangeHasNumber(hasNumber bool) func(*PasswordComplexityPolicyChangedEvent)
func ChangeHasSymbol ¶
func ChangeHasSymbol(hasSymbol bool) func(*PasswordComplexityPolicyChangedEvent)
func ChangeHasUppercase ¶
func ChangeHasUppercase(hasUppercase bool) func(*PasswordComplexityPolicyChangedEvent)
func ChangeHelpLink ¶
func ChangeHelpLink(helpLink string) func(*PrivacyPolicyChangedEvent)
func ChangeHideLoginNameSuffix ¶
func ChangeHideLoginNameSuffix(hideLoginNameSuffix bool) func(*LabelPolicyChangedEvent)
func ChangeHidePasswordReset ¶
func ChangeHidePasswordReset(hidePasswordReset bool) func(*LoginPolicyChangedEvent)
func ChangeIgnoreUnknownUsernames ¶
func ChangeIgnoreUnknownUsernames(ignoreUnknownUsernames bool) func(*LoginPolicyChangedEvent)
func ChangeMaxAgeDays ¶
func ChangeMaxAgeDays(maxAgeDays uint64) func(*PasswordAgePolicyChangedEvent)
func ChangeMaxAttempts ¶
func ChangeMaxAttempts(maxAttempts uint64) func(*LockoutPolicyChangedEvent)
func ChangeMinLength ¶
func ChangeMinLength(minLength uint64) func(*PasswordComplexityPolicyChangedEvent)
func ChangePasswordlessType ¶
func ChangePasswordlessType(passwordlessType domain.PasswordlessType) func(*LoginPolicyChangedEvent)
func ChangePreHeader ¶
func ChangePreHeader(preHeader string) func(*MailTextChangedEvent)
func ChangePrimaryColor ¶
func ChangePrimaryColor(primaryColor string) func(*LabelPolicyChangedEvent)
func ChangePrimaryColorDark ¶
func ChangePrimaryColorDark(primaryColorDark string) func(*LabelPolicyChangedEvent)
func ChangePrivacyLink ¶
func ChangePrivacyLink(privacyLink string) func(*PrivacyPolicyChangedEvent)
func ChangeShowLockOutFailures ¶
func ChangeShowLockOutFailures(showLockOutFailures bool) func(*LockoutPolicyChangedEvent)
func ChangeSubject ¶
func ChangeSubject(greeting string) func(*MailTextChangedEvent)
func ChangeTOSLink ¶
func ChangeTOSLink(tosLink string) func(*PrivacyPolicyChangedEvent)
func ChangeTemplate ¶
func ChangeTemplate(template []byte) func(*MailTemplateChangedEvent)
func ChangeText ¶
func ChangeText(text string) func(*MailTextChangedEvent)
func ChangeTitle ¶
func ChangeTitle(title string) func(*MailTextChangedEvent)
func ChangeUserLoginMustBeDomain ¶
func ChangeUserLoginMustBeDomain(userLoginMustBeDomain bool) func(*OrgIAMPolicyChangedEvent)
func ChangeWarnColor ¶
func ChangeWarnColor(warnColor string) func(*LabelPolicyChangedEvent)
func ChangeWarnColorDark ¶
func ChangeWarnColorDark(warnColorDark string) func(*LabelPolicyChangedEvent)
func CustomTextRemovedEventMapper ¶
func CustomTextRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func CustomTextSetEventMapper ¶
func CustomTextSetEventMapper(event *repository.Event) (eventstore.Event, error)
func CustomTextTemplateRemovedEventMapper ¶
func CustomTextTemplateRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func IdentityProviderAddedEventMapper ¶
func IdentityProviderAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IdentityProviderCascadeRemovedEventMapper ¶
func IdentityProviderCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func IdentityProviderRemovedEventMapper ¶
func IdentityProviderRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyActivatedEventMapper ¶
func LabelPolicyActivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyAddedEventMapper ¶
func LabelPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyAssetsRemovedEventMapper ¶
func LabelPolicyAssetsRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyChangedEventMapper ¶
func LabelPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyFontAddedEventMapper ¶
func LabelPolicyFontAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyFontRemovedEventMapper ¶
func LabelPolicyFontRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconAddedEventMapper ¶
func LabelPolicyIconAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconDarkAddedEventMapper ¶
func LabelPolicyIconDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconDarkRemovedEventMapper ¶
func LabelPolicyIconDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyIconRemovedEventMapper ¶
func LabelPolicyIconRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoAddedEventMapper ¶
func LabelPolicyLogoAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoDarkAddedEventMapper ¶
func LabelPolicyLogoDarkAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoDarkRemovedEventMapper ¶
func LabelPolicyLogoDarkRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyLogoRemovedEventMapper ¶
func LabelPolicyLogoRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LabelPolicyRemovedEventMapper ¶
func LabelPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LockoutPolicyAddedEventMapper ¶
func LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LockoutPolicyChangedEventMapper ¶
func LockoutPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func LockoutPolicyRemovedEventMapper ¶
func LockoutPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func LoginPolicyAddedEventMapper ¶
func LoginPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LoginPolicyChangedEventMapper ¶
func LoginPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func LoginPolicyRemovedEventMapper ¶
func LoginPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTemplateAddedEventMapper ¶
func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTemplateChangedEventMapper ¶
func MailTemplateChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTemplateRemovedEventMapper ¶
func MailTemplateRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTextAddedEventMapper ¶
func MailTextAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTextChangedEventMapper ¶
func MailTextChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTextRemovedEventMapper ¶
func MailTextRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func MultiFactorAddedEventMapper ¶
func MultiFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MultiFactorRemovedEventMapper ¶
func MultiFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func NewAddMailTextUniqueConstraint ¶
func NewAddMailTextUniqueConstraint(aggregateID, mailTextType, langugage string) *eventstore.EventUniqueConstraint
func NewRemoveMailTextUniqueConstraint ¶
func NewRemoveMailTextUniqueConstraint(aggregateID, mailTextType, langugage string) *eventstore.EventUniqueConstraint
func OrgIAMPolicyAddedEventMapper ¶
func OrgIAMPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func OrgIAMPolicyChangedEventMapper ¶
func OrgIAMPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func OrgIAMPolicyRemovedEventMapper ¶
func OrgIAMPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordAgePolicyAddedEventMapper ¶
func PasswordAgePolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordAgePolicyChangedEventMapper ¶
func PasswordAgePolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordAgePolicyRemovedEventMapper ¶
func PasswordAgePolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordComplexityPolicyAddedEventMapper ¶
func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordComplexityPolicyChangedEventMapper ¶
func PasswordComplexityPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordComplexityPolicyRemovedEventMapper ¶
func PasswordComplexityPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func PrivacyPolicyAddedEventMapper ¶
func PrivacyPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func PrivacyPolicyChangedEventMapper ¶
func PrivacyPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func PrivacyPolicyRemovedEventMapper ¶
func PrivacyPolicyRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func SecondFactorAddedEventMapper ¶
func SecondFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func SecondFactorRemovedEventMapper ¶
func SecondFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
Types ¶
type CustomTextRemovedEvent ¶
type CustomTextRemovedEvent struct { eventstore.BaseEvent `json:"-"` Template string `json:"template,omitempty"` Key string `json:"key,omitempty"` Language language.Tag `json:"language,omitempty"` }
func NewCustomTextRemovedEvent ¶
func NewCustomTextRemovedEvent(base *eventstore.BaseEvent, template, key string, language language.Tag) *CustomTextRemovedEvent
func (*CustomTextRemovedEvent) Data ¶
func (e *CustomTextRemovedEvent) Data() interface{}
func (*CustomTextRemovedEvent) UniqueConstraints ¶
func (e *CustomTextRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type CustomTextSetEvent ¶
type CustomTextSetEvent struct { eventstore.BaseEvent `json:"-"` Template string `json:"template,omitempty"` Key string `json:"key,omitempty"` Language language.Tag `json:"language,omitempty"` Text string `json:"text,omitempty"` }
func NewCustomTextSetEvent ¶
func NewCustomTextSetEvent( base *eventstore.BaseEvent, template, key, text string, language language.Tag, ) *CustomTextSetEvent
func (*CustomTextSetEvent) Data ¶
func (e *CustomTextSetEvent) Data() interface{}
func (*CustomTextSetEvent) UniqueConstraints ¶
func (e *CustomTextSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type CustomTextTemplateRemovedEvent ¶
type CustomTextTemplateRemovedEvent struct { eventstore.BaseEvent `json:"-"` Template string `json:"template,omitempty"` Language language.Tag `json:"language,omitempty"` }
func NewCustomTextTemplateRemovedEvent ¶
func NewCustomTextTemplateRemovedEvent(base *eventstore.BaseEvent, template string, language language.Tag) *CustomTextTemplateRemovedEvent
func (*CustomTextTemplateRemovedEvent) Data ¶
func (e *CustomTextTemplateRemovedEvent) Data() interface{}
func (*CustomTextTemplateRemovedEvent) UniqueConstraints ¶
func (e *CustomTextTemplateRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type IdentityProviderAddedEvent ¶
type IdentityProviderAddedEvent struct { eventstore.BaseEvent IDPConfigID string `json:"idpConfigId,omitempty"` IDPProviderType domain.IdentityProviderType `json:"idpProviderType,omitempty"` }
func NewIdentityProviderAddedEvent ¶
func NewIdentityProviderAddedEvent( base *eventstore.BaseEvent, idpConfigID string, idpProviderType domain.IdentityProviderType, ) *IdentityProviderAddedEvent
func (*IdentityProviderAddedEvent) Data ¶
func (e *IdentityProviderAddedEvent) Data() interface{}
func (*IdentityProviderAddedEvent) UniqueConstraints ¶
func (e *IdentityProviderAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type IdentityProviderCascadeRemovedEvent ¶
type IdentityProviderCascadeRemovedEvent struct { eventstore.BaseEvent IDPConfigID string `json:"idpConfigId"` }
func NewIdentityProviderCascadeRemovedEvent ¶
func NewIdentityProviderCascadeRemovedEvent( base *eventstore.BaseEvent, idpConfigID string, ) *IdentityProviderCascadeRemovedEvent
func (*IdentityProviderCascadeRemovedEvent) Data ¶
func (e *IdentityProviderCascadeRemovedEvent) Data() interface{}
func (*IdentityProviderCascadeRemovedEvent) UniqueConstraints ¶
func (e *IdentityProviderCascadeRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type IdentityProviderRemovedEvent ¶
type IdentityProviderRemovedEvent struct { eventstore.BaseEvent IDPConfigID string `json:"idpConfigId"` }
func NewIdentityProviderRemovedEvent ¶
func NewIdentityProviderRemovedEvent( base *eventstore.BaseEvent, idpConfigID string, ) *IdentityProviderRemovedEvent
func (*IdentityProviderRemovedEvent) Data ¶
func (e *IdentityProviderRemovedEvent) Data() interface{}
func (*IdentityProviderRemovedEvent) UniqueConstraints ¶
func (e *IdentityProviderRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyActivatedEvent ¶
type LabelPolicyActivatedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewLabelPolicyActivatedEvent ¶
func NewLabelPolicyActivatedEvent(base *eventstore.BaseEvent) *LabelPolicyActivatedEvent
func (*LabelPolicyActivatedEvent) Data ¶
func (e *LabelPolicyActivatedEvent) Data() interface{}
func (*LabelPolicyActivatedEvent) UniqueConstraints ¶
func (e *LabelPolicyActivatedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyAddedEvent ¶
type LabelPolicyAddedEvent struct { eventstore.BaseEvent `json:"-"` PrimaryColor string `json:"primaryColor,omitempty"` BackgroundColor string `json:"backgroundColor,omitempty"` WarnColor string `json:"warnColor,omitempty"` FontColor string `json:"fontColor,omitempty"` PrimaryColorDark string `json:"primaryColorDark,omitempty"` BackgroundColorDark string `json:"backgroundColorDark,omitempty"` WarnColorDark string `json:"warnColorDark,omitempty"` FontColorDark string `json:"fontColorDark,omitempty"` HideLoginNameSuffix bool `json:"hideLoginNameSuffix,omitempty"` ErrorMsgPopup bool `json:"errorMsgPopup,omitempty"` DisableWatermark bool `json:"disableMsgPopup,omitempty"` }
func NewLabelPolicyAddedEvent ¶
func NewLabelPolicyAddedEvent( base *eventstore.BaseEvent, primaryColor, backgroundColor, warnColor, fontColor, primaryColorDark, backgroundColorDark, warnColorDark, fontColorDark string, hideLoginNameSuffix, errorMsgPopup, disableWatermark bool, ) *LabelPolicyAddedEvent
func (*LabelPolicyAddedEvent) Data ¶
func (e *LabelPolicyAddedEvent) Data() interface{}
func (*LabelPolicyAddedEvent) UniqueConstraints ¶
func (e *LabelPolicyAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyAssetsRemovedEvent ¶
type LabelPolicyAssetsRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewLabelPolicyAssetsRemovedEvent ¶
func NewLabelPolicyAssetsRemovedEvent(base *eventstore.BaseEvent) *LabelPolicyAssetsRemovedEvent
func (*LabelPolicyAssetsRemovedEvent) Data ¶
func (e *LabelPolicyAssetsRemovedEvent) Data() interface{}
func (*LabelPolicyAssetsRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyAssetsRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyChangedEvent ¶
type LabelPolicyChangedEvent struct { eventstore.BaseEvent `json:"-"` PrimaryColor *string `json:"primaryColor,omitempty"` BackgroundColor *string `json:"backgroundColor,omitempty"` WarnColor *string `json:"warnColor,omitempty"` FontColor *string `json:"fontColor,omitempty"` PrimaryColorDark *string `json:"primaryColorDark,omitempty"` BackgroundColorDark *string `json:"backgroundColorDark,omitempty"` WarnColorDark *string `json:"warnColorDark,omitempty"` FontColorDark *string `json:"fontColorDark,omitempty"` HideLoginNameSuffix *bool `json:"hideLoginNameSuffix,omitempty"` ErrorMsgPopup *bool `json:"errorMsgPopup,omitempty"` DisableWatermark *bool `json:"disableWatermark,omitempty"` }
func NewLabelPolicyChangedEvent ¶
func NewLabelPolicyChangedEvent( base *eventstore.BaseEvent, changes []LabelPolicyChanges, ) (*LabelPolicyChangedEvent, error)
func (*LabelPolicyChangedEvent) Data ¶
func (e *LabelPolicyChangedEvent) Data() interface{}
func (*LabelPolicyChangedEvent) UniqueConstraints ¶
func (e *LabelPolicyChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyChanges ¶
type LabelPolicyChanges func(*LabelPolicyChangedEvent)
type LabelPolicyFontAddedEvent ¶
type LabelPolicyFontAddedEvent struct {
asset.AddedEvent
}
func NewLabelPolicyFontAddedEvent ¶
func NewLabelPolicyFontAddedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyFontAddedEvent
func (*LabelPolicyFontAddedEvent) Data ¶
func (e *LabelPolicyFontAddedEvent) Data() interface{}
func (*LabelPolicyFontAddedEvent) UniqueConstraints ¶
func (e *LabelPolicyFontAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyFontRemovedEvent ¶
type LabelPolicyFontRemovedEvent struct {
asset.RemovedEvent
}
func NewLabelPolicyFontRemovedEvent ¶
func NewLabelPolicyFontRemovedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyFontRemovedEvent
func (*LabelPolicyFontRemovedEvent) Data ¶
func (e *LabelPolicyFontRemovedEvent) Data() interface{}
func (*LabelPolicyFontRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyFontRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyIconAddedEvent ¶
type LabelPolicyIconAddedEvent struct {
asset.AddedEvent
}
func NewLabelPolicyIconAddedEvent ¶
func NewLabelPolicyIconAddedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyIconAddedEvent
func (*LabelPolicyIconAddedEvent) Data ¶
func (e *LabelPolicyIconAddedEvent) Data() interface{}
func (*LabelPolicyIconAddedEvent) UniqueConstraints ¶
func (e *LabelPolicyIconAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyIconDarkAddedEvent ¶
type LabelPolicyIconDarkAddedEvent struct {
asset.AddedEvent
}
func NewLabelPolicyIconDarkAddedEvent ¶
func NewLabelPolicyIconDarkAddedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyIconDarkAddedEvent
func (*LabelPolicyIconDarkAddedEvent) Data ¶
func (e *LabelPolicyIconDarkAddedEvent) Data() interface{}
func (*LabelPolicyIconDarkAddedEvent) UniqueConstraints ¶
func (e *LabelPolicyIconDarkAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyIconDarkRemovedEvent ¶
type LabelPolicyIconDarkRemovedEvent struct {
asset.RemovedEvent
}
func NewLabelPolicyIconDarkRemovedEvent ¶
func NewLabelPolicyIconDarkRemovedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyIconDarkRemovedEvent
func (*LabelPolicyIconDarkRemovedEvent) Data ¶
func (e *LabelPolicyIconDarkRemovedEvent) Data() interface{}
func (*LabelPolicyIconDarkRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyIconDarkRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyIconRemovedEvent ¶
type LabelPolicyIconRemovedEvent struct {
asset.RemovedEvent
}
func NewLabelPolicyIconRemovedEvent ¶
func NewLabelPolicyIconRemovedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyIconRemovedEvent
func (*LabelPolicyIconRemovedEvent) Data ¶
func (e *LabelPolicyIconRemovedEvent) Data() interface{}
func (*LabelPolicyIconRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyIconRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyLogoAddedEvent ¶
type LabelPolicyLogoAddedEvent struct {
asset.AddedEvent
}
func NewLabelPolicyLogoAddedEvent ¶
func NewLabelPolicyLogoAddedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyLogoAddedEvent
func (*LabelPolicyLogoAddedEvent) Data ¶
func (e *LabelPolicyLogoAddedEvent) Data() interface{}
func (*LabelPolicyLogoAddedEvent) UniqueConstraints ¶
func (e *LabelPolicyLogoAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyLogoDarkAddedEvent ¶
type LabelPolicyLogoDarkAddedEvent struct {
asset.AddedEvent
}
func NewLabelPolicyLogoDarkAddedEvent ¶
func NewLabelPolicyLogoDarkAddedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyLogoDarkAddedEvent
func (*LabelPolicyLogoDarkAddedEvent) Data ¶
func (e *LabelPolicyLogoDarkAddedEvent) Data() interface{}
func (*LabelPolicyLogoDarkAddedEvent) UniqueConstraints ¶
func (e *LabelPolicyLogoDarkAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyLogoDarkRemovedEvent ¶
type LabelPolicyLogoDarkRemovedEvent struct {
asset.RemovedEvent
}
func NewLabelPolicyLogoDarkRemovedEvent ¶
func NewLabelPolicyLogoDarkRemovedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyLogoDarkRemovedEvent
func (*LabelPolicyLogoDarkRemovedEvent) Data ¶
func (e *LabelPolicyLogoDarkRemovedEvent) Data() interface{}
func (*LabelPolicyLogoDarkRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyLogoDarkRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyLogoRemovedEvent ¶
type LabelPolicyLogoRemovedEvent struct {
asset.RemovedEvent
}
func NewLabelPolicyLogoRemovedEvent ¶
func NewLabelPolicyLogoRemovedEvent(base *eventstore.BaseEvent, storageKey string) *LabelPolicyLogoRemovedEvent
func (*LabelPolicyLogoRemovedEvent) Data ¶
func (e *LabelPolicyLogoRemovedEvent) Data() interface{}
func (*LabelPolicyLogoRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyLogoRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyRemovedEvent ¶
type LabelPolicyRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewLabelPolicyRemovedEvent ¶
func NewLabelPolicyRemovedEvent(base *eventstore.BaseEvent) *LabelPolicyRemovedEvent
func (*LabelPolicyRemovedEvent) Data ¶
func (e *LabelPolicyRemovedEvent) Data() interface{}
func (*LabelPolicyRemovedEvent) UniqueConstraints ¶
func (e *LabelPolicyRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LockoutPolicyAddedEvent ¶
type LockoutPolicyAddedEvent struct { eventstore.BaseEvent `json:"-"` MaxPasswordAttempts uint64 `json:"maxPasswordAttempts,omitempty"` ShowLockOutFailures bool `json:"showLockOutFailures,omitempty"` }
func NewLockoutPolicyAddedEvent ¶
func NewLockoutPolicyAddedEvent( base *eventstore.BaseEvent, maxAttempts uint64, showLockOutFailures bool, ) *LockoutPolicyAddedEvent
func (*LockoutPolicyAddedEvent) Data ¶
func (e *LockoutPolicyAddedEvent) Data() interface{}
func (*LockoutPolicyAddedEvent) UniqueConstraints ¶
func (e *LockoutPolicyAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LockoutPolicyChangedEvent ¶
type LockoutPolicyChangedEvent struct { eventstore.BaseEvent `json:"-"` MaxPasswordAttempts *uint64 `json:"maxPasswordAttempts,omitempty"` ShowLockOutFailures *bool `json:"showLockOutFailures,omitempty"` }
func NewLockoutPolicyChangedEvent ¶
func NewLockoutPolicyChangedEvent( base *eventstore.BaseEvent, changes []LockoutPolicyChanges, ) (*LockoutPolicyChangedEvent, error)
func (*LockoutPolicyChangedEvent) Data ¶
func (e *LockoutPolicyChangedEvent) Data() interface{}
func (*LockoutPolicyChangedEvent) UniqueConstraints ¶
func (e *LockoutPolicyChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LockoutPolicyChanges ¶
type LockoutPolicyChanges func(*LockoutPolicyChangedEvent)
type LockoutPolicyRemovedEvent ¶
type LockoutPolicyRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewLockoutPolicyRemovedEvent ¶
func NewLockoutPolicyRemovedEvent(base *eventstore.BaseEvent) *LockoutPolicyRemovedEvent
func (*LockoutPolicyRemovedEvent) Data ¶
func (e *LockoutPolicyRemovedEvent) Data() interface{}
func (*LockoutPolicyRemovedEvent) UniqueConstraints ¶
func (e *LockoutPolicyRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LoginPolicyAddedEvent ¶
type LoginPolicyAddedEvent struct { eventstore.BaseEvent `json:"-"` AllowUserNamePassword bool `json:"allowUsernamePassword,omitempty"` AllowRegister bool `json:"allowRegister,omitempty"` AllowExternalIDP bool `json:"allowExternalIdp,omitempty"` ForceMFA bool `json:"forceMFA,omitempty"` HidePasswordReset bool `json:"hidePasswordReset,omitempty"` IgnoreUnknownUsernames bool `json:"ignoreUnknownUsernames,omitempty"` PasswordlessType domain.PasswordlessType `json:"passwordlessType,omitempty"` }
func NewLoginPolicyAddedEvent ¶
func NewLoginPolicyAddedEvent( base *eventstore.BaseEvent, allowUserNamePassword, allowRegister, allowExternalIDP, forceMFA, hidePasswordReset, ignoreUnknownUsernames bool, passwordlessType domain.PasswordlessType, ) *LoginPolicyAddedEvent
func (*LoginPolicyAddedEvent) Data ¶
func (e *LoginPolicyAddedEvent) Data() interface{}
func (*LoginPolicyAddedEvent) UniqueConstraints ¶
func (e *LoginPolicyAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LoginPolicyChangedEvent ¶
type LoginPolicyChangedEvent struct { eventstore.BaseEvent `json:"-"` AllowUserNamePassword *bool `json:"allowUsernamePassword,omitempty"` AllowRegister *bool `json:"allowRegister,omitempty"` AllowExternalIDP *bool `json:"allowExternalIdp,omitempty"` ForceMFA *bool `json:"forceMFA,omitempty"` HidePasswordReset *bool `json:"hidePasswordReset,omitempty"` IgnoreUnknownUsernames *bool `json:"ignoreUnknownUsernames,omitempty"` PasswordlessType *domain.PasswordlessType `json:"passwordlessType,omitempty"` }
func NewLoginPolicyChangedEvent ¶
func NewLoginPolicyChangedEvent( base *eventstore.BaseEvent, changes []LoginPolicyChanges, ) (*LoginPolicyChangedEvent, error)
func (*LoginPolicyChangedEvent) Data ¶
func (e *LoginPolicyChangedEvent) Data() interface{}
func (*LoginPolicyChangedEvent) UniqueConstraints ¶
func (e *LoginPolicyChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LoginPolicyChanges ¶
type LoginPolicyChanges func(*LoginPolicyChangedEvent)
type LoginPolicyRemovedEvent ¶
type LoginPolicyRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewLoginPolicyRemovedEvent ¶
func NewLoginPolicyRemovedEvent(base *eventstore.BaseEvent) *LoginPolicyRemovedEvent
func (*LoginPolicyRemovedEvent) Data ¶
func (e *LoginPolicyRemovedEvent) Data() interface{}
func (*LoginPolicyRemovedEvent) UniqueConstraints ¶
func (e *LoginPolicyRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MailTemplateAddedEvent ¶
type MailTemplateAddedEvent struct { eventstore.BaseEvent `json:"-"` Template []byte `json:"template,omitempty"` }
func NewMailTemplateAddedEvent ¶
func NewMailTemplateAddedEvent( base *eventstore.BaseEvent, template []byte, ) *MailTemplateAddedEvent
func (*MailTemplateAddedEvent) Data ¶
func (e *MailTemplateAddedEvent) Data() interface{}
func (*MailTemplateAddedEvent) UniqueConstraints ¶
func (e *MailTemplateAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MailTemplateChangedEvent ¶
type MailTemplateChangedEvent struct { eventstore.BaseEvent `json:"-"` Template *[]byte `json:"template,omitempty"` }
func NewMailTemplateChangedEvent ¶
func NewMailTemplateChangedEvent( base *eventstore.BaseEvent, changes []MailTemplateChanges, ) (*MailTemplateChangedEvent, error)
func (*MailTemplateChangedEvent) Data ¶
func (e *MailTemplateChangedEvent) Data() interface{}
func (*MailTemplateChangedEvent) UniqueConstraints ¶
func (e *MailTemplateChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MailTemplateChanges ¶
type MailTemplateChanges func(*MailTemplateChangedEvent)
type MailTemplateRemovedEvent ¶
type MailTemplateRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewMailTemplateRemovedEvent ¶
func NewMailTemplateRemovedEvent(base *eventstore.BaseEvent) *MailTemplateRemovedEvent
func (*MailTemplateRemovedEvent) Data ¶
func (e *MailTemplateRemovedEvent) Data() interface{}
func (*MailTemplateRemovedEvent) UniqueConstraints ¶
func (e *MailTemplateRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MailTextAddedEvent ¶
type MailTextAddedEvent struct { eventstore.BaseEvent `json:"-"` MailTextType string `json:"mailTextType,omitempty"` Language string `json:"language,omitempty"` Title string `json:"title,omitempty"` PreHeader string `json:"preHeader,omitempty"` Subject string `json:"subject,omitempty"` Greeting string `json:"greeting,omitempty"` Text string `json:"text,omitempty"` ButtonText string `json:"buttonText,omitempty"` }
func NewMailTextAddedEvent ¶
func NewMailTextAddedEvent( base *eventstore.BaseEvent, mailTextType, language, title, preHeader, subject, greeting, text, buttonText string, ) *MailTextAddedEvent
func (*MailTextAddedEvent) Data ¶
func (e *MailTextAddedEvent) Data() interface{}
func (*MailTextAddedEvent) UniqueConstraints ¶
func (e *MailTextAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MailTextChangedEvent ¶
type MailTextChangedEvent struct { eventstore.BaseEvent `json:"-"` MailTextType string `json:"mailTextType,omitempty"` Language string `json:"language,omitempty"` Title *string `json:"title,omitempty"` PreHeader *string `json:"preHeader,omitempty"` Subject *string `json:"subject,omitempty"` Greeting *string `json:"greeting,omitempty"` Text *string `json:"text,omitempty"` ButtonText *string `json:"buttonText,omitempty"` }
func NewMailTextChangedEvent ¶
func NewMailTextChangedEvent( base *eventstore.BaseEvent, mailTextType, language string, changes []MailTextChanges, ) (*MailTextChangedEvent, error)
func (*MailTextChangedEvent) Data ¶
func (e *MailTextChangedEvent) Data() interface{}
func (*MailTextChangedEvent) UniqueConstraints ¶
func (e *MailTextChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MailTextChanges ¶
type MailTextChanges func(*MailTextChangedEvent)
type MailTextRemovedEvent ¶
type MailTextRemovedEvent struct { eventstore.BaseEvent `json:"-"` MailTextType string `json:"mailTextType,omitempty"` Language string `json:"language,omitempty"` }
func NewMailTextRemovedEvent ¶
func NewMailTextRemovedEvent(base *eventstore.BaseEvent, mailTextType, language string) *MailTextRemovedEvent
func (*MailTextRemovedEvent) Data ¶
func (e *MailTextRemovedEvent) Data() interface{}
func (*MailTextRemovedEvent) UniqueConstraints ¶
func (e *MailTextRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MultiFactorAddedEvent ¶
type MultiFactorAddedEvent struct { eventstore.BaseEvent `json:"-"` MFAType domain.MultiFactorType `json:"mfaType"` }
func NewMultiFactorAddedEvent ¶
func NewMultiFactorAddedEvent( base *eventstore.BaseEvent, mfaType domain.MultiFactorType, ) *MultiFactorAddedEvent
func (*MultiFactorAddedEvent) Data ¶
func (e *MultiFactorAddedEvent) Data() interface{}
func (*MultiFactorAddedEvent) UniqueConstraints ¶
func (e *MultiFactorAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type MultiFactorRemovedEvent ¶
type MultiFactorRemovedEvent struct { eventstore.BaseEvent `json:"-"` MFAType domain.MultiFactorType `json:"mfaType"` }
func NewMultiFactorRemovedEvent ¶
func NewMultiFactorRemovedEvent( base *eventstore.BaseEvent, mfaType domain.MultiFactorType, ) *MultiFactorRemovedEvent
func (*MultiFactorRemovedEvent) Data ¶
func (e *MultiFactorRemovedEvent) Data() interface{}
func (*MultiFactorRemovedEvent) UniqueConstraints ¶
func (e *MultiFactorRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgIAMPolicyAddedEvent ¶
type OrgIAMPolicyAddedEvent struct { eventstore.BaseEvent `json:"-"` UserLoginMustBeDomain bool `json:"userLoginMustBeDomain,omitempty"` }
func NewOrgIAMPolicyAddedEvent ¶
func NewOrgIAMPolicyAddedEvent( base *eventstore.BaseEvent, userLoginMustBeDomain bool, ) *OrgIAMPolicyAddedEvent
func (*OrgIAMPolicyAddedEvent) Data ¶
func (e *OrgIAMPolicyAddedEvent) Data() interface{}
func (*OrgIAMPolicyAddedEvent) UniqueConstraints ¶
func (e *OrgIAMPolicyAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgIAMPolicyChangedEvent ¶
type OrgIAMPolicyChangedEvent struct { eventstore.BaseEvent `json:"-"` UserLoginMustBeDomain *bool `json:"userLoginMustBeDomain,omitempty"` }
func NewOrgIAMPolicyChangedEvent ¶
func NewOrgIAMPolicyChangedEvent( base *eventstore.BaseEvent, changes []OrgIAMPolicyChanges, ) (*OrgIAMPolicyChangedEvent, error)
func (*OrgIAMPolicyChangedEvent) Data ¶
func (e *OrgIAMPolicyChangedEvent) Data() interface{}
func (*OrgIAMPolicyChangedEvent) UniqueConstraints ¶
func (e *OrgIAMPolicyChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgIAMPolicyChanges ¶
type OrgIAMPolicyChanges func(*OrgIAMPolicyChangedEvent)
type OrgIAMPolicyRemovedEvent ¶
type OrgIAMPolicyRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewOrgIAMPolicyRemovedEvent ¶
func NewOrgIAMPolicyRemovedEvent(base *eventstore.BaseEvent) *OrgIAMPolicyRemovedEvent
func (*OrgIAMPolicyRemovedEvent) Data ¶
func (e *OrgIAMPolicyRemovedEvent) Data() interface{}
func (*OrgIAMPolicyRemovedEvent) UniqueConstraints ¶
func (e *OrgIAMPolicyRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PasswordAgePolicyAddedEvent ¶
type PasswordAgePolicyAddedEvent struct { eventstore.BaseEvent `json:"-"` ExpireWarnDays uint64 `json:"expireWarnDays,omitempty"` MaxAgeDays uint64 `json:"maxAgeDays,omitempty"` }
func NewPasswordAgePolicyAddedEvent ¶
func NewPasswordAgePolicyAddedEvent( base *eventstore.BaseEvent, expireWarnDays, maxAgeDays uint64, ) *PasswordAgePolicyAddedEvent
func (*PasswordAgePolicyAddedEvent) Data ¶
func (e *PasswordAgePolicyAddedEvent) Data() interface{}
func (*PasswordAgePolicyAddedEvent) UniqueConstraints ¶
func (e *PasswordAgePolicyAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PasswordAgePolicyChangedEvent ¶
type PasswordAgePolicyChangedEvent struct { eventstore.BaseEvent `json:"-"` ExpireWarnDays *uint64 `json:"expireWarnDays,omitempty"` MaxAgeDays *uint64 `json:"maxAgeDays,omitempty"` }
func NewPasswordAgePolicyChangedEvent ¶
func NewPasswordAgePolicyChangedEvent( base *eventstore.BaseEvent, changes []PasswordAgePolicyChanges, ) (*PasswordAgePolicyChangedEvent, error)
func (*PasswordAgePolicyChangedEvent) Data ¶
func (e *PasswordAgePolicyChangedEvent) Data() interface{}
func (*PasswordAgePolicyChangedEvent) UniqueConstraints ¶
func (e *PasswordAgePolicyChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PasswordAgePolicyChanges ¶
type PasswordAgePolicyChanges func(*PasswordAgePolicyChangedEvent)
type PasswordAgePolicyRemovedEvent ¶
type PasswordAgePolicyRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewPasswordAgePolicyRemovedEvent ¶
func NewPasswordAgePolicyRemovedEvent(base *eventstore.BaseEvent) *PasswordAgePolicyRemovedEvent
func (*PasswordAgePolicyRemovedEvent) Data ¶
func (e *PasswordAgePolicyRemovedEvent) Data() interface{}
func (*PasswordAgePolicyRemovedEvent) UniqueConstraints ¶
func (e *PasswordAgePolicyRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PasswordComplexityPolicyAddedEvent ¶
type PasswordComplexityPolicyAddedEvent struct { eventstore.BaseEvent `json:"-"` MinLength uint64 `json:"minLength,omitempty"` HasLowercase bool `json:"hasLowercase,omitempty"` HasUppercase bool `json:"hasUppercase,omitempty"` HasNumber bool `json:"hasNumber,omitempty"` HasSymbol bool `json:"hasSymbol,omitempty"` }
func NewPasswordComplexityPolicyAddedEvent ¶
func NewPasswordComplexityPolicyAddedEvent( base *eventstore.BaseEvent, minLength uint64, hasLowerCase, hasUpperCase, hasNumber, hasSymbol bool, ) *PasswordComplexityPolicyAddedEvent
func (*PasswordComplexityPolicyAddedEvent) Data ¶
func (e *PasswordComplexityPolicyAddedEvent) Data() interface{}
func (*PasswordComplexityPolicyAddedEvent) UniqueConstraints ¶
func (e *PasswordComplexityPolicyAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PasswordComplexityPolicyChangedEvent ¶
type PasswordComplexityPolicyChangedEvent struct { eventstore.BaseEvent `json:"-"` MinLength *uint64 `json:"minLength,omitempty"` HasLowercase *bool `json:"hasLowercase,omitempty"` HasUppercase *bool `json:"hasUppercase,omitempty"` HasNumber *bool `json:"hasNumber,omitempty"` HasSymbol *bool `json:"hasSymbol,omitempty"` }
func NewPasswordComplexityPolicyChangedEvent ¶
func NewPasswordComplexityPolicyChangedEvent( base *eventstore.BaseEvent, changes []PasswordComplexityPolicyChanges, ) (*PasswordComplexityPolicyChangedEvent, error)
func (*PasswordComplexityPolicyChangedEvent) Data ¶
func (e *PasswordComplexityPolicyChangedEvent) Data() interface{}
func (*PasswordComplexityPolicyChangedEvent) UniqueConstraints ¶
func (e *PasswordComplexityPolicyChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PasswordComplexityPolicyChanges ¶
type PasswordComplexityPolicyChanges func(*PasswordComplexityPolicyChangedEvent)
type PasswordComplexityPolicyRemovedEvent ¶
type PasswordComplexityPolicyRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewPasswordComplexityPolicyRemovedEvent ¶
func NewPasswordComplexityPolicyRemovedEvent(base *eventstore.BaseEvent) *PasswordComplexityPolicyRemovedEvent
func (*PasswordComplexityPolicyRemovedEvent) Data ¶
func (e *PasswordComplexityPolicyRemovedEvent) Data() interface{}
func (*PasswordComplexityPolicyRemovedEvent) UniqueConstraints ¶
func (e *PasswordComplexityPolicyRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PrivacyPolicyAddedEvent ¶
type PrivacyPolicyAddedEvent struct { eventstore.BaseEvent `json:"-"` TOSLink string `json:"tosLink,omitempty"` PrivacyLink string `json:"privacyLink,omitempty"` HelpLink string `json:"helpLink,omitempty"` }
func NewPrivacyPolicyAddedEvent ¶
func NewPrivacyPolicyAddedEvent( base *eventstore.BaseEvent, tosLink, privacyLink, helpLink string, ) *PrivacyPolicyAddedEvent
func (*PrivacyPolicyAddedEvent) Data ¶
func (e *PrivacyPolicyAddedEvent) Data() interface{}
func (*PrivacyPolicyAddedEvent) UniqueConstraints ¶
func (e *PrivacyPolicyAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PrivacyPolicyChangedEvent ¶
type PrivacyPolicyChangedEvent struct { eventstore.BaseEvent `json:"-"` TOSLink *string `json:"tosLink,omitempty"` PrivacyLink *string `json:"privacyLink,omitempty"` HelpLink *string `json:"helpLink,omitempty"` }
func NewPrivacyPolicyChangedEvent ¶
func NewPrivacyPolicyChangedEvent( base *eventstore.BaseEvent, changes []PrivacyPolicyChanges, ) (*PrivacyPolicyChangedEvent, error)
func (*PrivacyPolicyChangedEvent) Data ¶
func (e *PrivacyPolicyChangedEvent) Data() interface{}
func (*PrivacyPolicyChangedEvent) UniqueConstraints ¶
func (e *PrivacyPolicyChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PrivacyPolicyChanges ¶
type PrivacyPolicyChanges func(*PrivacyPolicyChangedEvent)
type PrivacyPolicyRemovedEvent ¶
type PrivacyPolicyRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewPrivacyPolicyRemovedEvent ¶
func NewPrivacyPolicyRemovedEvent(base *eventstore.BaseEvent) *PrivacyPolicyRemovedEvent
func (*PrivacyPolicyRemovedEvent) Data ¶
func (e *PrivacyPolicyRemovedEvent) Data() interface{}
func (*PrivacyPolicyRemovedEvent) UniqueConstraints ¶
func (e *PrivacyPolicyRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SecondFactorAddedEvent ¶
type SecondFactorAddedEvent struct { eventstore.BaseEvent `json:"-"` MFAType domain.SecondFactorType `json:"mfaType,omitempty"` }
func NewSecondFactorAddedEvent ¶
func NewSecondFactorAddedEvent( base *eventstore.BaseEvent, mfaType domain.SecondFactorType, ) *SecondFactorAddedEvent
func (*SecondFactorAddedEvent) Data ¶
func (e *SecondFactorAddedEvent) Data() interface{}
func (*SecondFactorAddedEvent) UniqueConstraints ¶
func (e *SecondFactorAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SecondFactorRemovedEvent ¶
type SecondFactorRemovedEvent struct { eventstore.BaseEvent `json:"-"` MFAType domain.SecondFactorType `json:"mfaType"` }
func NewSecondFactorRemovedEvent ¶
func NewSecondFactorRemovedEvent( base *eventstore.BaseEvent, mfaType domain.SecondFactorType, ) *SecondFactorRemovedEvent
func (*SecondFactorRemovedEvent) Data ¶
func (e *SecondFactorRemovedEvent) Data() interface{}
func (*SecondFactorRemovedEvent) UniqueConstraints ¶
func (e *SecondFactorRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
Click to show internal directories.
Click to hide internal directories.