Documentation ¶
Index ¶
- Constants
- Variables
- func CustomTextRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func CustomTextSetEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func CustomTextTemplateRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func DomainAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func DomainPrimarySetEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func DomainRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func DomainVerificationAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func DomainVerificationFailedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func DomainVerifiedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func FeaturesRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func FeaturesSetEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func FlowClearedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPConfigAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPConfigChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPConfigDeactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPConfigReactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPConfigRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPJWTConfigAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPJWTConfigChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPOIDCConfigAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IDPOIDCConfigChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IdentityProviderAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IdentityProviderCascadeRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func IdentityProviderRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyActivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyAssetsRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyFontAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyFontRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyIconAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyIconDarkAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyIconDarkRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyIconRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyLogoAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyLogoDarkAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyLogoDarkRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyLogoRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LabelPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LockoutPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LockoutPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LoginPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LoginPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func LoginPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MailTemplateChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MailTemplateRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MailTextAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MailTextChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MailTextRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MemberAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MemberCascadeRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MemberChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MemberRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MultiFactorAddedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func MultiFactorRemovedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func NewAddOrgDomainUniqueConstraint(orgDomain string) *eventstore.EventUniqueConstraint
- func NewAddOrgNameUniqueConstraint(orgName string) *eventstore.EventUniqueConstraint
- func NewRemoveOrgDomainUniqueConstraint(orgDomain string) *eventstore.EventUniqueConstraint
- func NewRemoveOrgNameUniqueConstraint(orgName string) *eventstore.EventUniqueConstraint
- func OrgAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func OrgChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func OrgDeactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func OrgIAMPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func OrgIAMPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func OrgIAMPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func OrgReactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func OrgRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PasswordAgePolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PasswordAgePolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PasswordAgePolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PasswordComplexityPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PasswordComplexityPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PrivacyPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PrivacyPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func PrivacyPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func RegisterEventMappers(es *eventstore.Eventstore)
- func SecondFactorAddedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func SecondFactorRemovedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func TriggerActionsCascadeRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
- func TriggerActionsSetEventMapper(event *repository.Event) (eventstore.EventReader, error)
- type Aggregate
- type CustomTextRemovedEvent
- type CustomTextSetEvent
- type CustomTextTemplateRemovedEvent
- type DomainAddedEvent
- type DomainPrimarySetEvent
- type DomainRemovedEvent
- type DomainVerificationAddedEvent
- type DomainVerificationFailedEvent
- type DomainVerifiedEvent
- type FeaturesRemovedEvent
- type FeaturesSetEvent
- type FlowClearedEvent
- type IDPConfigAddedEvent
- type IDPConfigChangedEvent
- type IDPConfigDeactivatedEvent
- type IDPConfigReactivatedEvent
- type IDPConfigRemovedEvent
- type IDPJWTConfigAddedEvent
- type IDPJWTConfigChangedEvent
- type IDPOIDCConfigAddedEvent
- type IDPOIDCConfigChangedEvent
- type IdentityProviderAddedEvent
- type IdentityProviderCascadeRemovedEvent
- type IdentityProviderRemovedEvent
- type LabelPolicyActivatedEvent
- type LabelPolicyAddedEvent
- type LabelPolicyAssetsRemovedEvent
- type LabelPolicyChangedEvent
- 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 LockoutPolicyRemovedEvent
- type LoginPolicyAddedEvent
- type LoginPolicyChangedEvent
- type LoginPolicyMultiFactorAddedEvent
- type LoginPolicyMultiFactorRemovedEvent
- type LoginPolicyRemovedEvent
- type LoginPolicySecondFactorAddedEvent
- type LoginPolicySecondFactorRemovedEvent
- type MailTemplateAddedEvent
- type MailTemplateChangedEvent
- type MailTemplateRemovedEvent
- type MailTextAddedEvent
- type MailTextChangedEvent
- type MailTextRemovedEvent
- type MemberAddedEvent
- type MemberCascadeRemovedEvent
- type MemberChangedEvent
- type MemberRemovedEvent
- type OrgAddedEvent
- type OrgChangedEvent
- type OrgDeactivatedEvent
- type OrgIAMPolicyAddedEvent
- type OrgIAMPolicyChangedEvent
- type OrgIAMPolicyRemovedEvent
- type OrgReactivatedEvent
- type OrgRemovedEvent
- type PasswordAgePolicyAddedEvent
- type PasswordAgePolicyChangedEvent
- type PasswordAgePolicyRemovedEvent
- type PasswordComplexityPolicyAddedEvent
- type PasswordComplexityPolicyChangedEvent
- type PasswordComplexityPolicyRemovedEvent
- type PrivacyPolicyAddedEvent
- type PrivacyPolicyChangedEvent
- type PrivacyPolicyRemovedEvent
- type TriggerActionsCascadeRemovedEvent
- type TriggerActionsSetEvent
Constants ¶
View Source
const ( AggregateType = "org" AggregateVersion = "v1" )
View Source
const ( UniqueOrgDomain = "org_domain" OrgDomainAddedEventType = domainEventPrefix + "added" OrgDomainVerificationAddedEventType = domainEventPrefix + "verification.added" OrgDomainVerificationFailedEventType = domainEventPrefix + "verification.failed" OrgDomainVerifiedEventType = domainEventPrefix + "verified" OrgDomainPrimarySetEventType = domainEventPrefix + "primary.set" OrgDomainRemovedEventType = domainEventPrefix + "removed" )
View Source
const ( IDPConfigAddedEventType eventstore.EventType = "org.idp.config.added" IDPConfigChangedEventType eventstore.EventType = "org.idp.config.changed" IDPConfigRemovedEventType eventstore.EventType = "org.idp.config.removed" IDPConfigDeactivatedEventType eventstore.EventType = "org.idp.config.deactivated" IDPConfigReactivatedEventType eventstore.EventType = "org.idp.config.reactivated" )
View Source
const ( IDPJWTConfigAddedEventType eventstore.EventType = "org.idp." + idpconfig.JWTConfigAddedEventType IDPJWTConfigChangedEventType eventstore.EventType = "org.idp." + idpconfig.JWTConfigChangedEventType )
View Source
const ( IDPOIDCConfigAddedEventType eventstore.EventType = "org.idp." + idpconfig.OIDCConfigAddedEventType IDPOIDCConfigChangedEventType eventstore.EventType = "org.idp." + idpconfig.OIDCConfigChangedEventType )
View Source
const ( OrgAddedEventType = orgEventTypePrefix + "added" OrgChangedEventType = orgEventTypePrefix + "changed" OrgDeactivatedEventType = orgEventTypePrefix + "deactivated" OrgReactivatedEventType = orgEventTypePrefix + "reactivated" OrgRemovedEventType = orgEventTypePrefix + "removed" )
Variables ¶
View Source
var ( CustomTextSetEventType = orgEventTypePrefix + policy.CustomTextSetEventType CustomTextRemovedEventType = orgEventTypePrefix + policy.CustomTextRemovedEventType CustomTextTemplateRemovedEventType = orgEventTypePrefix + policy.CustomTextTemplateRemovedEventType )
View Source
var ( FeaturesSetEventType = orgEventTypePrefix + features.FeaturesSetEventType FeaturesRemovedEventType = orgEventTypePrefix + features.FeaturesRemovedEventType )
View Source
var ( TriggerActionsSetEventType = orgEventTypePrefix + flow.TriggerActionsSetEventType TriggerActionsCascadeRemovedEventType = orgEventTypePrefix + flow.TriggerActionsCascadeRemovedEventType FlowClearedEventType = orgEventTypePrefix + flow.FlowClearedEventType )
View Source
var ( MemberAddedEventType = orgEventTypePrefix + member.AddedEventType MemberChangedEventType = orgEventTypePrefix + member.ChangedEventType MemberRemovedEventType = orgEventTypePrefix + member.RemovedEventType MemberCascadeRemovedEventType = orgEventTypePrefix + member.CascadeRemovedEventType )
View Source
var ( LabelPolicyAddedEventType = orgEventTypePrefix + policy.LabelPolicyAddedEventType LabelPolicyChangedEventType = orgEventTypePrefix + policy.LabelPolicyChangedEventType LabelPolicyActivatedEventType = orgEventTypePrefix + policy.LabelPolicyActivatedEventType LabelPolicyRemovedEventType = orgEventTypePrefix + policy.LabelPolicyRemovedEventType LabelPolicyLogoAddedEventType = orgEventTypePrefix + policy.LabelPolicyLogoAddedEventType LabelPolicyLogoRemovedEventType = orgEventTypePrefix + policy.LabelPolicyLogoRemovedEventType LabelPolicyIconAddedEventType = orgEventTypePrefix + policy.LabelPolicyIconAddedEventType LabelPolicyIconRemovedEventType = orgEventTypePrefix + policy.LabelPolicyIconRemovedEventType LabelPolicyLogoDarkAddedEventType = orgEventTypePrefix + policy.LabelPolicyLogoDarkAddedEventType LabelPolicyLogoDarkRemovedEventType = orgEventTypePrefix + policy.LabelPolicyLogoDarkRemovedEventType LabelPolicyIconDarkAddedEventType = orgEventTypePrefix + policy.LabelPolicyIconDarkAddedEventType LabelPolicyIconDarkRemovedEventType = orgEventTypePrefix + policy.LabelPolicyIconDarkRemovedEventType LabelPolicyFontAddedEventType = orgEventTypePrefix + policy.LabelPolicyFontAddedEventType LabelPolicyFontRemovedEventType = orgEventTypePrefix + policy.LabelPolicyFontRemovedEventType LabelPolicyAssetsRemovedEventType = orgEventTypePrefix + policy.LabelPolicyAssetsRemovedEventType )
View Source
var ( LoginPolicyAddedEventType = orgEventTypePrefix + policy.LoginPolicyAddedEventType LoginPolicyChangedEventType = orgEventTypePrefix + policy.LoginPolicyChangedEventType LoginPolicyRemovedEventType = orgEventTypePrefix + policy.LoginPolicyRemovedEventType )
View Source
var ( LoginPolicySecondFactorAddedEventType = orgEventTypePrefix + policy.LoginPolicySecondFactorAddedEventType LoginPolicySecondFactorRemovedEventType = orgEventTypePrefix + policy.LoginPolicySecondFactorRemovedEventType LoginPolicyMultiFactorAddedEventType = orgEventTypePrefix + policy.LoginPolicyMultiFactorAddedEventType LoginPolicyMultiFactorRemovedEventType = orgEventTypePrefix + policy.LoginPolicyMultiFactorRemovedEventType )
View Source
var ( LoginPolicyIDPProviderAddedEventType = orgEventTypePrefix + policy.LoginPolicyIDPProviderAddedType LoginPolicyIDPProviderRemovedEventType = orgEventTypePrefix + policy.LoginPolicyIDPProviderRemovedType LoginPolicyIDPProviderCascadeRemovedEventType = orgEventTypePrefix + policy.LoginPolicyIDPProviderCascadeRemovedType )
View Source
var ( MailTemplateAddedEventType = orgEventTypePrefix + policy.MailTemplatePolicyAddedEventType MailTemplateChangedEventType = orgEventTypePrefix + policy.MailTemplatePolicyChangedEventType MailTemplateRemovedEventType = orgEventTypePrefix + policy.MailTemplatePolicyRemovedEventType )
View Source
var ( MailTextAddedEventType = orgEventTypePrefix + policy.MailTextPolicyAddedEventType MailTextChangedEventType = orgEventTypePrefix + policy.MailTextPolicyChangedEventType MailTextRemovedEventType = orgEventTypePrefix + policy.MailTextPolicyRemovedEventType )
View Source
var ( //TODO: enable when possible //OrgIAMPolicyAddedEventType = orgEventTypePrefix + policy.OrgIAMPolicyAddedEventType //OrgIAMPolicyChangedEventType = orgEventTypePrefix + policy.OrgIAMPolicyChangedEventType OrgIAMPolicyAddedEventType = orgEventTypePrefix + "iam.policy.added" OrgIAMPolicyChangedEventType = orgEventTypePrefix + "iam.policy.changed" OrgIAMPolicyRemovedEventType = orgEventTypePrefix + "iam.policy.removed" )
View Source
var ( PasswordAgePolicyAddedEventType = orgEventTypePrefix + policy.PasswordAgePolicyAddedEventType PasswordAgePolicyChangedEventType = orgEventTypePrefix + policy.PasswordAgePolicyChangedEventType PasswordAgePolicyRemovedEventType = orgEventTypePrefix + policy.PasswordAgePolicyRemovedEventType )
View Source
var ( PasswordComplexityPolicyAddedEventType = orgEventTypePrefix + policy.PasswordComplexityPolicyAddedEventType PasswordComplexityPolicyChangedEventType = orgEventTypePrefix + policy.PasswordComplexityPolicyChangedEventType PasswordComplexityPolicyRemovedEventType = orgEventTypePrefix + policy.PasswordComplexityPolicyRemovedEventType )
View Source
var ( LockoutPolicyAddedEventType = orgEventTypePrefix + policy.LockoutPolicyAddedEventType LockoutPolicyChangedEventType = orgEventTypePrefix + policy.LockoutPolicyChangedEventType LockoutPolicyRemovedEventType = orgEventTypePrefix + policy.LockoutPolicyRemovedEventType )
View Source
var ( PrivacyPolicyAddedEventType = orgEventTypePrefix + policy.PrivacyPolicyAddedEventType PrivacyPolicyChangedEventType = orgEventTypePrefix + policy.PrivacyPolicyChangedEventType PrivacyPolicyRemovedEventType = orgEventTypePrefix + policy.PrivacyPolicyRemovedEventType )
Functions ¶
func CustomTextRemovedEventMapper ¶ added in v1.13.0
func CustomTextRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func CustomTextSetEventMapper ¶ added in v1.13.0
func CustomTextSetEventMapper(event *repository.Event) (eventstore.EventReader, error)
func CustomTextTemplateRemovedEventMapper ¶ added in v1.13.0
func CustomTextTemplateRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func DomainAddedEventMapper ¶
func DomainAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func DomainPrimarySetEventMapper ¶
func DomainPrimarySetEventMapper(event *repository.Event) (eventstore.EventReader, error)
func DomainRemovedEventMapper ¶
func DomainRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func DomainVerificationAddedEventMapper ¶
func DomainVerificationAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func DomainVerificationFailedEventMapper ¶
func DomainVerificationFailedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func DomainVerifiedEventMapper ¶
func DomainVerifiedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func FeaturesRemovedEventMapper ¶
func FeaturesRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func FeaturesSetEventMapper ¶
func FeaturesSetEventMapper(event *repository.Event) (eventstore.EventReader, error)
func FlowClearedEventMapper ¶ added in v1.42.0
func FlowClearedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPConfigAddedEventMapper ¶
func IDPConfigAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPConfigChangedEventMapper ¶
func IDPConfigChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPConfigDeactivatedEventMapper ¶
func IDPConfigDeactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPConfigReactivatedEventMapper ¶
func IDPConfigReactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPConfigRemovedEventMapper ¶
func IDPConfigRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPJWTConfigAddedEventMapper ¶ added in v1.39.0
func IDPJWTConfigAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPJWTConfigChangedEventMapper ¶ added in v1.39.0
func IDPJWTConfigChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPOIDCConfigAddedEventMapper ¶
func IDPOIDCConfigAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IDPOIDCConfigChangedEventMapper ¶
func IDPOIDCConfigChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IdentityProviderAddedEventMapper ¶
func IdentityProviderAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IdentityProviderCascadeRemovedEventMapper ¶
func IdentityProviderCascadeRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func IdentityProviderRemovedEventMapper ¶
func IdentityProviderRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyActivatedEventMapper ¶ added in v1.12.0
func LabelPolicyActivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyAddedEventMapper ¶
func LabelPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyAssetsRemovedEventMapper ¶ added in v1.12.0
func LabelPolicyAssetsRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyChangedEventMapper ¶
func LabelPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyFontAddedEventMapper ¶ added in v1.12.0
func LabelPolicyFontAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyFontRemovedEventMapper ¶ added in v1.12.0
func LabelPolicyFontRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyIconAddedEventMapper ¶ added in v1.12.0
func LabelPolicyIconAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyIconDarkAddedEventMapper ¶ added in v1.12.0
func LabelPolicyIconDarkAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyIconDarkRemovedEventMapper ¶ added in v1.12.0
func LabelPolicyIconDarkRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyIconRemovedEventMapper ¶ added in v1.12.0
func LabelPolicyIconRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyLogoAddedEventMapper ¶ added in v1.12.0
func LabelPolicyLogoAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyLogoDarkAddedEventMapper ¶ added in v1.12.0
func LabelPolicyLogoDarkAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyLogoDarkRemovedEventMapper ¶ added in v1.12.0
func LabelPolicyLogoDarkRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyLogoRemovedEventMapper ¶ added in v1.12.0
func LabelPolicyLogoRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LabelPolicyRemovedEventMapper ¶
func LabelPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LockoutPolicyAddedEventMapper ¶ added in v1.29.0
func LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LockoutPolicyChangedEventMapper ¶ added in v1.29.0
func LockoutPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LockoutPolicyRemovedEventMapper ¶ added in v1.29.0
func LockoutPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LoginPolicyAddedEventMapper ¶
func LoginPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LoginPolicyChangedEventMapper ¶
func LoginPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func LoginPolicyRemovedEventMapper ¶
func LoginPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MailTemplateAddedEventMapper ¶
func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MailTemplateChangedEventMapper ¶
func MailTemplateChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MailTemplateRemovedEventMapper ¶
func MailTemplateRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MailTextAddedEventMapper ¶
func MailTextAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MailTextChangedEventMapper ¶
func MailTextChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MailTextRemovedEventMapper ¶
func MailTextRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MemberAddedEventMapper ¶
func MemberAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MemberCascadeRemovedEventMapper ¶ added in v1.12.2
func MemberCascadeRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MemberChangedEventMapper ¶
func MemberChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MemberRemovedEventMapper ¶
func MemberRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MultiFactorAddedEventEventMapper ¶
func MultiFactorAddedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
func MultiFactorRemovedEventEventMapper ¶
func MultiFactorRemovedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
func NewAddOrgDomainUniqueConstraint ¶
func NewAddOrgDomainUniqueConstraint(orgDomain string) *eventstore.EventUniqueConstraint
func NewAddOrgNameUniqueConstraint ¶
func NewAddOrgNameUniqueConstraint(orgName string) *eventstore.EventUniqueConstraint
func NewRemoveOrgDomainUniqueConstraint ¶
func NewRemoveOrgDomainUniqueConstraint(orgDomain string) *eventstore.EventUniqueConstraint
func NewRemoveOrgNameUniqueConstraint ¶
func NewRemoveOrgNameUniqueConstraint(orgName string) *eventstore.EventUniqueConstraint
func OrgAddedEventMapper ¶
func OrgAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func OrgChangedEventMapper ¶
func OrgChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func OrgDeactivatedEventMapper ¶
func OrgDeactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func OrgIAMPolicyAddedEventMapper ¶
func OrgIAMPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func OrgIAMPolicyChangedEventMapper ¶
func OrgIAMPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func OrgIAMPolicyRemovedEventMapper ¶
func OrgIAMPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func OrgReactivatedEventMapper ¶
func OrgReactivatedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func OrgRemovedEventMapper ¶
func OrgRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PasswordAgePolicyAddedEventMapper ¶
func PasswordAgePolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PasswordAgePolicyChangedEventMapper ¶
func PasswordAgePolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PasswordAgePolicyRemovedEventMapper ¶
func PasswordAgePolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PasswordComplexityPolicyAddedEventMapper ¶
func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PasswordComplexityPolicyChangedEventMapper ¶
func PasswordComplexityPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PasswordComplexityPolicyRemovedEventMapper ¶
func PasswordComplexityPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PrivacyPolicyAddedEventMapper ¶ added in v1.18.0
func PrivacyPolicyAddedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PrivacyPolicyChangedEventMapper ¶ added in v1.18.0
func PrivacyPolicyChangedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func PrivacyPolicyRemovedEventMapper ¶ added in v1.18.0
func PrivacyPolicyRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func RegisterEventMappers ¶
func RegisterEventMappers(es *eventstore.Eventstore)
func SecondFactorAddedEventEventMapper ¶
func SecondFactorAddedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
func SecondFactorRemovedEventEventMapper ¶
func SecondFactorRemovedEventEventMapper(event *repository.Event) (eventstore.EventReader, error)
func TriggerActionsCascadeRemovedEventMapper ¶ added in v1.42.0
func TriggerActionsCascadeRemovedEventMapper(event *repository.Event) (eventstore.EventReader, error)
func TriggerActionsSetEventMapper ¶ added in v1.42.0
func TriggerActionsSetEventMapper(event *repository.Event) (eventstore.EventReader, error)
Types ¶
type CustomTextRemovedEvent ¶ added in v1.13.0
type CustomTextRemovedEvent struct {
policy.CustomTextRemovedEvent
}
func NewCustomTextRemovedEvent ¶ added in v1.13.0
func NewCustomTextRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template, key string, language language.Tag, ) *CustomTextRemovedEvent
type CustomTextSetEvent ¶ added in v1.13.0
type CustomTextSetEvent struct {
policy.CustomTextSetEvent
}
func NewCustomTextSetEvent ¶ added in v1.13.0
func NewCustomTextSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, template, key, text string, language language.Tag, ) *CustomTextSetEvent
type CustomTextTemplateRemovedEvent ¶ added in v1.13.0
type CustomTextTemplateRemovedEvent struct {
policy.CustomTextTemplateRemovedEvent
}
func NewCustomTextTemplateRemovedEvent ¶ added in v1.13.0
func NewCustomTextTemplateRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template string, language language.Tag, ) *CustomTextTemplateRemovedEvent
type DomainAddedEvent ¶
type DomainAddedEvent struct { eventstore.BaseEvent `json:"-"` Domain string `json:"domain,omitempty"` }
func NewDomainAddedEvent ¶
func NewDomainAddedEvent(ctx context.Context, aggregate *eventstore.Aggregate, domain string) *DomainAddedEvent
func (*DomainAddedEvent) Data ¶
func (e *DomainAddedEvent) Data() interface{}
func (*DomainAddedEvent) UniqueConstraints ¶
func (e *DomainAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DomainPrimarySetEvent ¶
type DomainPrimarySetEvent struct { eventstore.BaseEvent `json:"-"` Domain string `json:"domain,omitempty"` }
func NewDomainPrimarySetEvent ¶
func NewDomainPrimarySetEvent(ctx context.Context, aggregate *eventstore.Aggregate, domain string) *DomainPrimarySetEvent
func (*DomainPrimarySetEvent) Data ¶
func (e *DomainPrimarySetEvent) Data() interface{}
func (*DomainPrimarySetEvent) UniqueConstraints ¶
func (e *DomainPrimarySetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DomainRemovedEvent ¶
type DomainRemovedEvent struct { eventstore.BaseEvent `json:"-"` Domain string `json:"domain,omitempty"` // contains filtered or unexported fields }
func NewDomainRemovedEvent ¶
func NewDomainRemovedEvent(ctx context.Context, aggregate *eventstore.Aggregate, domain string, verified bool) *DomainRemovedEvent
func (*DomainRemovedEvent) Data ¶
func (e *DomainRemovedEvent) Data() interface{}
func (*DomainRemovedEvent) UniqueConstraints ¶
func (e *DomainRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DomainVerificationAddedEvent ¶
type DomainVerificationAddedEvent struct { eventstore.BaseEvent `json:"-"` Domain string `json:"domain,omitempty"` ValidationType domain.OrgDomainValidationType `json:"validationType,omitempty"` ValidationCode *crypto.CryptoValue `json:"validationCode,omitempty"` }
func NewDomainVerificationAddedEvent ¶
func NewDomainVerificationAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, domain string, validationType domain.OrgDomainValidationType, validationCode *crypto.CryptoValue) *DomainVerificationAddedEvent
func (*DomainVerificationAddedEvent) Data ¶
func (e *DomainVerificationAddedEvent) Data() interface{}
func (*DomainVerificationAddedEvent) UniqueConstraints ¶
func (e *DomainVerificationAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DomainVerificationFailedEvent ¶
type DomainVerificationFailedEvent struct { eventstore.BaseEvent `json:"-"` Domain string `json:"domain,omitempty"` }
func NewDomainVerificationFailedEvent ¶
func NewDomainVerificationFailedEvent(ctx context.Context, aggregate *eventstore.Aggregate, domain string) *DomainVerificationFailedEvent
func (*DomainVerificationFailedEvent) Data ¶
func (e *DomainVerificationFailedEvent) Data() interface{}
func (*DomainVerificationFailedEvent) UniqueConstraints ¶
func (e *DomainVerificationFailedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DomainVerifiedEvent ¶
type DomainVerifiedEvent struct { eventstore.BaseEvent `json:"-"` Domain string `json:"domain,omitempty"` }
func NewDomainVerifiedEvent ¶
func NewDomainVerifiedEvent(ctx context.Context, aggregate *eventstore.Aggregate, domain string) *DomainVerifiedEvent
func (*DomainVerifiedEvent) Data ¶
func (e *DomainVerifiedEvent) Data() interface{}
func (*DomainVerifiedEvent) UniqueConstraints ¶
func (e *DomainVerifiedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type FeaturesRemovedEvent ¶
type FeaturesRemovedEvent struct {
features.FeaturesRemovedEvent
}
func NewFeaturesRemovedEvent ¶
func NewFeaturesRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *FeaturesRemovedEvent
type FeaturesSetEvent ¶
type FeaturesSetEvent struct {
features.FeaturesSetEvent
}
func NewFeaturesSetEvent ¶
func NewFeaturesSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []features.FeaturesChanges, ) (*FeaturesSetEvent, error)
type FlowClearedEvent ¶ added in v1.42.0
type FlowClearedEvent struct {
flow.FlowClearedEvent
}
func NewFlowClearedEvent ¶ added in v1.42.0
func NewFlowClearedEvent( ctx context.Context, aggregate *eventstore.Aggregate, flowType domain.FlowType, ) *FlowClearedEvent
type IDPConfigAddedEvent ¶
type IDPConfigAddedEvent struct {
idpconfig.IDPConfigAddedEvent
}
func NewIDPConfigAddedEvent ¶
func NewIDPConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID, name string, configType domain.IDPConfigType, stylingType domain.IDPConfigStylingType, autoRegister bool, ) *IDPConfigAddedEvent
type IDPConfigChangedEvent ¶
type IDPConfigChangedEvent struct {
idpconfig.IDPConfigChangedEvent
}
func NewIDPConfigChangedEvent ¶
func NewIDPConfigChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID, oldName string, changes []idpconfig.IDPConfigChanges, ) (*IDPConfigChangedEvent, error)
type IDPConfigDeactivatedEvent ¶
type IDPConfigDeactivatedEvent struct {
idpconfig.IDPConfigDeactivatedEvent
}
func NewIDPConfigDeactivatedEvent ¶
func NewIDPConfigDeactivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID string, ) *IDPConfigDeactivatedEvent
type IDPConfigReactivatedEvent ¶
type IDPConfigReactivatedEvent struct {
idpconfig.IDPConfigReactivatedEvent
}
func NewIDPConfigReactivatedEvent ¶
func NewIDPConfigReactivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID string, ) *IDPConfigReactivatedEvent
type IDPConfigRemovedEvent ¶
type IDPConfigRemovedEvent struct {
idpconfig.IDPConfigRemovedEvent
}
func NewIDPConfigRemovedEvent ¶
func NewIDPConfigRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, configID, name string, ) *IDPConfigRemovedEvent
type IDPJWTConfigAddedEvent ¶ added in v1.39.0
type IDPJWTConfigAddedEvent struct {
idpconfig.JWTConfigAddedEvent
}
func NewIDPJWTConfigAddedEvent ¶ added in v1.39.0
func NewIDPJWTConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID, jwtEndpoint, issuer, keysEndpoint, headerName string, ) *IDPJWTConfigAddedEvent
type IDPJWTConfigChangedEvent ¶ added in v1.39.0
type IDPJWTConfigChangedEvent struct {
idpconfig.JWTConfigChangedEvent
}
func NewIDPJWTConfigChangedEvent ¶ added in v1.39.0
func NewIDPJWTConfigChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, changes []idpconfig.JWTConfigChanges, ) (*IDPJWTConfigChangedEvent, error)
type IDPOIDCConfigAddedEvent ¶
type IDPOIDCConfigAddedEvent struct {
idpconfig.OIDCConfigAddedEvent
}
func NewIDPOIDCConfigAddedEvent ¶
func NewIDPOIDCConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, clientID, idpConfigID, issuer, authorizationEndpoint, tokenEndpoint string, clientSecret *crypto.CryptoValue, idpDisplayNameMapping, userNameMapping domain.OIDCMappingField, scopes ...string, ) *IDPOIDCConfigAddedEvent
type IDPOIDCConfigChangedEvent ¶
type IDPOIDCConfigChangedEvent struct {
idpconfig.OIDCConfigChangedEvent
}
func NewIDPOIDCConfigChangedEvent ¶
func NewIDPOIDCConfigChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, changes []idpconfig.OIDCConfigChanges, ) (*IDPOIDCConfigChangedEvent, error)
type IdentityProviderAddedEvent ¶
type IdentityProviderAddedEvent struct {
policy.IdentityProviderAddedEvent
}
func NewIdentityProviderAddedEvent ¶
func NewIdentityProviderAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, idpProviderType domain.IdentityProviderType, ) *IdentityProviderAddedEvent
type IdentityProviderCascadeRemovedEvent ¶
type IdentityProviderCascadeRemovedEvent struct {
policy.IdentityProviderCascadeRemovedEvent
}
func NewIdentityProviderCascadeRemovedEvent ¶
func NewIdentityProviderCascadeRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, ) *IdentityProviderCascadeRemovedEvent
type IdentityProviderRemovedEvent ¶
type IdentityProviderRemovedEvent struct {
policy.IdentityProviderRemovedEvent
}
func NewIdentityProviderRemovedEvent ¶
func NewIdentityProviderRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID string, ) *IdentityProviderRemovedEvent
type LabelPolicyActivatedEvent ¶ added in v1.12.0
type LabelPolicyActivatedEvent struct {
policy.LabelPolicyActivatedEvent
}
func NewLabelPolicyActivatedEvent ¶ added in v1.12.0
func NewLabelPolicyActivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LabelPolicyActivatedEvent
type LabelPolicyAddedEvent ¶
type LabelPolicyAddedEvent struct {
policy.LabelPolicyAddedEvent
}
func NewLabelPolicyAddedEvent ¶
func NewLabelPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, primaryColor, backgroundColor, warnColor, fontColor, primaryColorDark, backgroundColorDark, warnColorDark, fontColorDark string, hideLoginNameSuffix, errorMsgPopup, disableWatermark bool, ) *LabelPolicyAddedEvent
type LabelPolicyAssetsRemovedEvent ¶ added in v1.12.0
type LabelPolicyAssetsRemovedEvent struct {
policy.LabelPolicyAssetsRemovedEvent
}
func NewLabelPolicyAssetsRemovedEvent ¶ added in v1.12.0
func NewLabelPolicyAssetsRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LabelPolicyAssetsRemovedEvent
func (*LabelPolicyAssetsRemovedEvent) Data ¶ added in v1.12.0
func (e *LabelPolicyAssetsRemovedEvent) Data() interface{}
func (*LabelPolicyAssetsRemovedEvent) UniqueConstraints ¶ added in v1.12.0
func (e *LabelPolicyAssetsRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyChangedEvent ¶
type LabelPolicyChangedEvent struct {
policy.LabelPolicyChangedEvent
}
func NewLabelPolicyChangedEvent ¶
func NewLabelPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.LabelPolicyChanges, ) (*LabelPolicyChangedEvent, error)
type LabelPolicyFontAddedEvent ¶ added in v1.12.0
type LabelPolicyFontAddedEvent struct {
policy.LabelPolicyFontAddedEvent
}
func NewLabelPolicyFontAddedEvent ¶ added in v1.12.0
func NewLabelPolicyFontAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyFontAddedEvent
type LabelPolicyFontRemovedEvent ¶ added in v1.12.0
type LabelPolicyFontRemovedEvent struct {
policy.LabelPolicyFontRemovedEvent
}
func NewLabelPolicyFontRemovedEvent ¶ added in v1.12.0
func NewLabelPolicyFontRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyFontRemovedEvent
type LabelPolicyIconAddedEvent ¶ added in v1.12.0
type LabelPolicyIconAddedEvent struct {
policy.LabelPolicyIconAddedEvent
}
func NewLabelPolicyIconAddedEvent ¶ added in v1.12.0
func NewLabelPolicyIconAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconAddedEvent
type LabelPolicyIconDarkAddedEvent ¶ added in v1.12.0
type LabelPolicyIconDarkAddedEvent struct {
policy.LabelPolicyIconDarkAddedEvent
}
func NewLabelPolicyIconDarkAddedEvent ¶ added in v1.12.0
func NewLabelPolicyIconDarkAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconDarkAddedEvent
type LabelPolicyIconDarkRemovedEvent ¶ added in v1.12.0
type LabelPolicyIconDarkRemovedEvent struct {
policy.LabelPolicyIconDarkRemovedEvent
}
func NewLabelPolicyIconDarkRemovedEvent ¶ added in v1.12.0
func NewLabelPolicyIconDarkRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconDarkRemovedEvent
type LabelPolicyIconRemovedEvent ¶ added in v1.12.0
type LabelPolicyIconRemovedEvent struct {
policy.LabelPolicyIconRemovedEvent
}
func NewLabelPolicyIconRemovedEvent ¶ added in v1.12.0
func NewLabelPolicyIconRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconRemovedEvent
type LabelPolicyLogoAddedEvent ¶ added in v1.12.0
type LabelPolicyLogoAddedEvent struct {
policy.LabelPolicyLogoAddedEvent
}
func NewLabelPolicyLogoAddedEvent ¶ added in v1.12.0
func NewLabelPolicyLogoAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoAddedEvent
type LabelPolicyLogoDarkAddedEvent ¶ added in v1.12.0
type LabelPolicyLogoDarkAddedEvent struct {
policy.LabelPolicyLogoDarkAddedEvent
}
func NewLabelPolicyLogoDarkAddedEvent ¶ added in v1.12.0
func NewLabelPolicyLogoDarkAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoDarkAddedEvent
type LabelPolicyLogoDarkRemovedEvent ¶ added in v1.12.0
type LabelPolicyLogoDarkRemovedEvent struct {
policy.LabelPolicyLogoDarkRemovedEvent
}
func NewLabelPolicyLogoDarkRemovedEvent ¶ added in v1.12.0
func NewLabelPolicyLogoDarkRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoDarkRemovedEvent
type LabelPolicyLogoRemovedEvent ¶ added in v1.12.0
type LabelPolicyLogoRemovedEvent struct {
policy.LabelPolicyLogoRemovedEvent
}
func NewLabelPolicyLogoRemovedEvent ¶ added in v1.12.0
func NewLabelPolicyLogoRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoRemovedEvent
type LabelPolicyRemovedEvent ¶
type LabelPolicyRemovedEvent struct {
policy.LabelPolicyRemovedEvent
}
func NewLabelPolicyRemovedEvent ¶
func NewLabelPolicyRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LabelPolicyRemovedEvent
type LockoutPolicyAddedEvent ¶ added in v1.29.0
type LockoutPolicyAddedEvent struct {
policy.LockoutPolicyAddedEvent
}
func NewLockoutPolicyAddedEvent ¶ added in v1.29.0
func NewLockoutPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, maxAttempts uint64, showLockoutFailure bool, ) *LockoutPolicyAddedEvent
type LockoutPolicyChangedEvent ¶ added in v1.29.0
type LockoutPolicyChangedEvent struct {
policy.LockoutPolicyChangedEvent
}
func NewLockoutPolicyChangedEvent ¶ added in v1.29.0
func NewLockoutPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.LockoutPolicyChanges, ) (*LockoutPolicyChangedEvent, error)
type LockoutPolicyRemovedEvent ¶ added in v1.29.0
type LockoutPolicyRemovedEvent struct {
policy.LockoutPolicyRemovedEvent
}
func NewLockoutPolicyRemovedEvent ¶ added in v1.29.0
func NewLockoutPolicyRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LockoutPolicyRemovedEvent
type LoginPolicyAddedEvent ¶
type LoginPolicyAddedEvent struct {
policy.LoginPolicyAddedEvent
}
func NewLoginPolicyAddedEvent ¶
func NewLoginPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, allowUsernamePassword, allowRegister, allowExternalIDP, forceMFA, hidePasswordReset bool, passwordlessType domain.PasswordlessType, ) *LoginPolicyAddedEvent
type LoginPolicyChangedEvent ¶
type LoginPolicyChangedEvent struct {
policy.LoginPolicyChangedEvent
}
func NewLoginPolicyChangedEvent ¶
func NewLoginPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.LoginPolicyChanges, ) (*LoginPolicyChangedEvent, error)
type LoginPolicyMultiFactorAddedEvent ¶
type LoginPolicyMultiFactorAddedEvent struct {
policy.MultiFactorAddedEvent
}
func NewLoginPolicyMultiFactorAddedEvent ¶
func NewLoginPolicyMultiFactorAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.MultiFactorType, ) *LoginPolicyMultiFactorAddedEvent
type LoginPolicyMultiFactorRemovedEvent ¶
type LoginPolicyMultiFactorRemovedEvent struct {
policy.MultiFactorRemovedEvent
}
func NewLoginPolicyMultiFactorRemovedEvent ¶
func NewLoginPolicyMultiFactorRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.MultiFactorType, ) *LoginPolicyMultiFactorRemovedEvent
type LoginPolicyRemovedEvent ¶
type LoginPolicyRemovedEvent struct {
policy.LoginPolicyRemovedEvent
}
func NewLoginPolicyRemovedEvent ¶
func NewLoginPolicyRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LoginPolicyRemovedEvent
type LoginPolicySecondFactorAddedEvent ¶
type LoginPolicySecondFactorAddedEvent struct {
policy.SecondFactorAddedEvent
}
func NewLoginPolicySecondFactorAddedEvent ¶
func NewLoginPolicySecondFactorAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.SecondFactorType, ) *LoginPolicySecondFactorAddedEvent
type LoginPolicySecondFactorRemovedEvent ¶
type LoginPolicySecondFactorRemovedEvent struct {
policy.SecondFactorRemovedEvent
}
func NewLoginPolicySecondFactorRemovedEvent ¶
func NewLoginPolicySecondFactorRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mfaType domain.SecondFactorType, ) *LoginPolicySecondFactorRemovedEvent
type MailTemplateAddedEvent ¶
type MailTemplateAddedEvent struct {
policy.MailTemplateAddedEvent
}
func NewMailTemplateAddedEvent ¶
func NewMailTemplateAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template []byte, ) *MailTemplateAddedEvent
type MailTemplateChangedEvent ¶
type MailTemplateChangedEvent struct {
policy.MailTemplateChangedEvent
}
func NewMailTemplateChangedEvent ¶
func NewMailTemplateChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.MailTemplateChanges, ) (*MailTemplateChangedEvent, error)
type MailTemplateRemovedEvent ¶
type MailTemplateRemovedEvent struct {
policy.MailTemplateRemovedEvent
}
func NewMailTemplateRemovedEvent ¶
func NewMailTemplateRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *MailTemplateRemovedEvent
type MailTextAddedEvent ¶
type MailTextAddedEvent struct {
policy.MailTextAddedEvent
}
func NewMailTextAddedEvent ¶
func NewMailTextAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mailTextType, language, title, preHeader, subject, greeting, text, buttonText string, ) *MailTextAddedEvent
type MailTextChangedEvent ¶
type MailTextChangedEvent struct {
policy.MailTextChangedEvent
}
func NewMailTextChangedEvent ¶
func NewMailTextChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mailTextType, language string, changes []policy.MailTextChanges, ) (*MailTextChangedEvent, error)
type MailTextRemovedEvent ¶
type MailTextRemovedEvent struct {
policy.MailTextRemovedEvent
}
func NewMailTextRemovedEvent ¶
func NewMailTextRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, mailTextType, language string, ) *MailTextRemovedEvent
type MemberAddedEvent ¶
type MemberAddedEvent struct {
member.MemberAddedEvent
}
func NewMemberAddedEvent ¶
func NewMemberAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, roles ...string, ) *MemberAddedEvent
type MemberCascadeRemovedEvent ¶ added in v1.12.2
type MemberCascadeRemovedEvent struct {
member.MemberCascadeRemovedEvent
}
func NewMemberCascadeRemovedEvent ¶ added in v1.12.2
func NewMemberCascadeRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, ) *MemberCascadeRemovedEvent
type MemberChangedEvent ¶
type MemberChangedEvent struct {
member.MemberChangedEvent
}
func NewMemberChangedEvent ¶
func NewMemberChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, roles ...string, ) *MemberChangedEvent
type MemberRemovedEvent ¶
type MemberRemovedEvent struct {
member.MemberRemovedEvent
}
func NewMemberRemovedEvent ¶
func NewMemberRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, ) *MemberRemovedEvent
type OrgAddedEvent ¶
type OrgAddedEvent struct { eventstore.BaseEvent `json:"-"` Name string `json:"name,omitempty"` }
func NewOrgAddedEvent ¶
func NewOrgAddedEvent(ctx context.Context, aggregate *eventstore.Aggregate, name string) *OrgAddedEvent
func (*OrgAddedEvent) Data ¶
func (e *OrgAddedEvent) Data() interface{}
func (*OrgAddedEvent) UniqueConstraints ¶
func (e *OrgAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgChangedEvent ¶
type OrgChangedEvent struct { eventstore.BaseEvent `json:"-"` Name string `json:"name,omitempty"` // contains filtered or unexported fields }
func NewOrgChangedEvent ¶
func NewOrgChangedEvent(ctx context.Context, aggregate *eventstore.Aggregate, oldName, newName string) *OrgChangedEvent
func (*OrgChangedEvent) Data ¶
func (e *OrgChangedEvent) Data() interface{}
func (*OrgChangedEvent) UniqueConstraints ¶
func (e *OrgChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgDeactivatedEvent ¶
type OrgDeactivatedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewOrgDeactivatedEvent ¶
func NewOrgDeactivatedEvent(ctx context.Context, aggregate *eventstore.Aggregate) *OrgDeactivatedEvent
func (*OrgDeactivatedEvent) Data ¶
func (e *OrgDeactivatedEvent) Data() interface{}
func (*OrgDeactivatedEvent) UniqueConstraints ¶
func (e *OrgDeactivatedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgIAMPolicyAddedEvent ¶
type OrgIAMPolicyAddedEvent struct {
policy.OrgIAMPolicyAddedEvent
}
func NewOrgIAMPolicyAddedEvent ¶
func NewOrgIAMPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userLoginMustBeDomain bool, ) *OrgIAMPolicyAddedEvent
type OrgIAMPolicyChangedEvent ¶
type OrgIAMPolicyChangedEvent struct {
policy.OrgIAMPolicyChangedEvent
}
func NewOrgIAMPolicyChangedEvent ¶
func NewOrgIAMPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.OrgIAMPolicyChanges, ) (*OrgIAMPolicyChangedEvent, error)
type OrgIAMPolicyRemovedEvent ¶
type OrgIAMPolicyRemovedEvent struct {
policy.OrgIAMPolicyRemovedEvent
}
func NewOrgIAMPolicyRemovedEvent ¶
func NewOrgIAMPolicyRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *OrgIAMPolicyRemovedEvent
type OrgReactivatedEvent ¶
type OrgReactivatedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewOrgReactivatedEvent ¶
func NewOrgReactivatedEvent(ctx context.Context, aggregate *eventstore.Aggregate) *OrgReactivatedEvent
func (*OrgReactivatedEvent) Data ¶
func (e *OrgReactivatedEvent) Data() interface{}
func (*OrgReactivatedEvent) UniqueConstraints ¶
func (e *OrgReactivatedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OrgRemovedEvent ¶
type OrgRemovedEvent struct { eventstore.BaseEvent `json:"-"` // contains filtered or unexported fields }
func NewOrgRemovedEvent ¶
func NewOrgRemovedEvent(ctx context.Context, aggregate *eventstore.Aggregate, name string) *OrgRemovedEvent
func (*OrgRemovedEvent) Data ¶
func (e *OrgRemovedEvent) Data() interface{}
func (*OrgRemovedEvent) UniqueConstraints ¶
func (e *OrgRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type PasswordAgePolicyAddedEvent ¶
type PasswordAgePolicyAddedEvent struct {
policy.PasswordAgePolicyAddedEvent
}
func NewPasswordAgePolicyAddedEvent ¶
func NewPasswordAgePolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, expireWarnDays, maxAgeDays uint64, ) *PasswordAgePolicyAddedEvent
type PasswordAgePolicyChangedEvent ¶
type PasswordAgePolicyChangedEvent struct {
policy.PasswordAgePolicyChangedEvent
}
func NewPasswordAgePolicyChangedEvent ¶
func NewPasswordAgePolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.PasswordAgePolicyChanges, ) (*PasswordAgePolicyChangedEvent, error)
type PasswordAgePolicyRemovedEvent ¶
type PasswordAgePolicyRemovedEvent struct {
policy.PasswordAgePolicyRemovedEvent
}
func NewPasswordAgePolicyRemovedEvent ¶
func NewPasswordAgePolicyRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *PasswordAgePolicyRemovedEvent
type PasswordComplexityPolicyAddedEvent ¶
type PasswordComplexityPolicyAddedEvent struct {
policy.PasswordComplexityPolicyAddedEvent
}
func NewPasswordComplexityPolicyAddedEvent ¶
func NewPasswordComplexityPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, minLength uint64, hasLowercase, hasUppercase, hasNumber, hasSymbol bool, ) *PasswordComplexityPolicyAddedEvent
type PasswordComplexityPolicyChangedEvent ¶
type PasswordComplexityPolicyChangedEvent struct {
policy.PasswordComplexityPolicyChangedEvent
}
func NewPasswordComplexityPolicyChangedEvent ¶
func NewPasswordComplexityPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.PasswordComplexityPolicyChanges, ) (*PasswordComplexityPolicyChangedEvent, error)
type PasswordComplexityPolicyRemovedEvent ¶
type PasswordComplexityPolicyRemovedEvent struct {
policy.PasswordComplexityPolicyRemovedEvent
}
func NewPasswordComplexityPolicyRemovedEvent ¶
func NewPasswordComplexityPolicyRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *PasswordComplexityPolicyRemovedEvent
type PrivacyPolicyAddedEvent ¶ added in v1.18.0
type PrivacyPolicyAddedEvent struct {
policy.PrivacyPolicyAddedEvent
}
func NewPrivacyPolicyAddedEvent ¶ added in v1.18.0
func NewPrivacyPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, tosLink, privacyLink string, ) *PrivacyPolicyAddedEvent
type PrivacyPolicyChangedEvent ¶ added in v1.18.0
type PrivacyPolicyChangedEvent struct {
policy.PrivacyPolicyChangedEvent
}
func NewPrivacyPolicyChangedEvent ¶ added in v1.18.0
func NewPrivacyPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.PrivacyPolicyChanges, ) (*PrivacyPolicyChangedEvent, error)
type PrivacyPolicyRemovedEvent ¶ added in v1.18.0
type PrivacyPolicyRemovedEvent struct {
policy.PrivacyPolicyRemovedEvent
}
func NewPrivacyPolicyRemovedEvent ¶ added in v1.18.0
func NewPrivacyPolicyRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *PrivacyPolicyRemovedEvent
type TriggerActionsCascadeRemovedEvent ¶ added in v1.42.0
type TriggerActionsCascadeRemovedEvent struct {
flow.TriggerActionsCascadeRemovedEvent
}
func NewTriggerActionsCascadeRemovedEvent ¶ added in v1.42.0
func NewTriggerActionsCascadeRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, flowType domain.FlowType, actionID string, ) *TriggerActionsCascadeRemovedEvent
type TriggerActionsSetEvent ¶ added in v1.42.0
type TriggerActionsSetEvent struct {
flow.TriggerActionsSetEvent
}
func NewTriggerActionsSetEvent ¶ added in v1.42.0
func NewTriggerActionsSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, flowType domain.FlowType, triggerType domain.TriggerType, actionIDs []string, ) *TriggerActionsSetEvent
Source Files ¶
- aggregate.go
- custom_text.go
- domain.go
- eventstore.go
- features.go
- flow.go
- idp_config.go
- idp_jwt_config.go
- idp_oidc_config.go
- member.go
- org.go
- policy_label.go
- policy_login.go
- policy_login_factors.go
- policy_login_identity_provider.go
- policy_mail_template.go
- policy_mail_text.go
- policy_org_iam.go
- policy_password_age.go
- policy_password_complexity.go
- policy_password_lockout.go
- policy_privacy.go
Click to show internal directories.
Click to hide internal directories.