Documentation ¶
Index ¶
- Constants
- Variables
- func ChangeOIDCSettingsAccessTokenLifetime(accessTokenLifetime time.Duration) func(event *OIDCSettingsChangedEvent)
- func ChangeOIDCSettingsIdTokenLifetime(idTokenLifetime time.Duration) func(event *OIDCSettingsChangedEvent)
- func ChangeOIDCSettingsRefreshTokenExpiration(refreshTokenExpiration time.Duration) func(event *OIDCSettingsChangedEvent)
- func ChangeOIDCSettingsRefreshTokenIdleExpiration(refreshTokenIdleExpiration time.Duration) func(event *OIDCSettingsChangedEvent)
- func ChangeSMSConfigTwilioSID(sid string) func(event *SMSConfigTwilioChangedEvent)
- func ChangeSMSConfigTwilioSenderNumber(senderNumber string) func(event *SMSConfigTwilioChangedEvent)
- func ChangeSMTPConfigFromAddress(senderAddress string) func(event *SMTPConfigChangedEvent)
- func ChangeSMTPConfigFromName(senderName string) func(event *SMTPConfigChangedEvent)
- func ChangeSMTPConfigSMTPHost(smtpHost string) func(event *SMTPConfigChangedEvent)
- func ChangeSMTPConfigSMTPUser(smtpUser string) func(event *SMTPConfigChangedEvent)
- func ChangeSMTPConfigTLS(tls bool) func(event *SMTPConfigChangedEvent)
- func ChangeSecretGeneratorExpiry(expiry time.Duration) func(event *SecretGeneratorChangedEvent)
- func ChangeSecretGeneratorIncludeDigits(includeDigits bool) func(event *SecretGeneratorChangedEvent)
- func ChangeSecretGeneratorIncludeLowerLetters(includeLowerLetters bool) func(event *SecretGeneratorChangedEvent)
- func ChangeSecretGeneratorIncludeSymbols(includeSymbols bool) func(event *SecretGeneratorChangedEvent)
- func ChangeSecretGeneratorIncludeUpperLetters(includeUpperLetters bool) func(event *SecretGeneratorChangedEvent)
- func ChangeSecretGeneratorLength(length uint) func(event *SecretGeneratorChangedEvent)
- func ConsoleSetMapper(event *repository.Event) (eventstore.Event, error)
- 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 DebugNotificationProviderFileAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DebugNotificationProviderFileChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DebugNotificationProviderFileRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DebugNotificationProviderLogAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DebugNotificationProviderLogChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DebugNotificationProviderLogRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DefaultLanguageSetMapper(event *repository.Event) (eventstore.Event, error)
- func DefaultOrgSetMapper(event *repository.Event) (eventstore.Event, error)
- func DomainAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DomainPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DomainPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DomainPrimarySetEventMapper(event *repository.Event) (eventstore.Event, error)
- func DomainRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigDeactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigReactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPConfigRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPJWTConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPJWTConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPOIDCConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func IDPOIDCConfigChangedEventMapper(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 InstanceAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func InstanceChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func InstanceRemovedEventMapper(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 LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LockoutPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LoginPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func LoginPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTemplateChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTextAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MailTextChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MemberRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MultiFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func MultiFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func NewAddInstanceDomainUniqueConstraint(domain string) *eventstore.EventUniqueConstraint
- func NewAddSecretGeneratorTypeUniqueConstraint(generatorType domain.SecretGeneratorType) *eventstore.EventUniqueConstraint
- func NewRemoveInstanceDomainUniqueConstraint(domain string) *eventstore.EventUniqueConstraint
- func NewRemoveSecretGeneratorTypeUniqueConstraint(generatorType domain.SecretGeneratorType) *eventstore.EventUniqueConstraint
- func OIDCSettingsAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func OIDCSettingsChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordAgePolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordAgePolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PasswordComplexityPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PrivacyPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func PrivacyPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func ProjectSetMapper(event *repository.Event) (eventstore.Event, error)
- func RegisterEventMappers(es *eventstore.Eventstore)
- func SMSConfigActivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMSConfigDeactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMSConfigRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMSConfigTwilioAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMSConfigTwilioChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMSConfigTwilioTokenChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMTPConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMTPConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMTPConfigPasswordChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SMTPConfigRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecondFactorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecondFactorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecretGeneratorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecretGeneratorChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func SecretGeneratorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- type Aggregate
- type ConsoleSetEvent
- type CustomTextRemovedEvent
- type CustomTextSetEvent
- type CustomTextTemplateRemovedEvent
- type DebugNotificationProviderFileAddedEvent
- type DebugNotificationProviderFileChangedEvent
- type DebugNotificationProviderFileRemovedEvent
- type DebugNotificationProviderLogAddedEvent
- type DebugNotificationProviderLogChangedEvent
- type DebugNotificationProviderLogRemovedEvent
- type DefaultLanguageSetEvent
- type DefaultOrgSetEvent
- type DomainAddedEvent
- type DomainPolicyAddedEvent
- type DomainPolicyChangedEvent
- type DomainPrimarySetEvent
- type DomainRemovedEvent
- 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 InstanceAddedEvent
- type InstanceChangedEvent
- type InstanceRemovedEvent
- 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 LockoutPolicyAddedEvent
- type LockoutPolicyChangedEvent
- type LoginPolicyAddedEvent
- type LoginPolicyChangedEvent
- type LoginPolicyMultiFactorAddedEvent
- type LoginPolicyMultiFactorRemovedEvent
- type LoginPolicySecondFactorAddedEvent
- type LoginPolicySecondFactorRemovedEvent
- type MailTemplateAddedEvent
- type MailTemplateChangedEvent
- type MailTextAddedEvent
- type MailTextChangedEvent
- type MemberAddedEvent
- type MemberCascadeRemovedEvent
- type MemberChangedEvent
- type MemberRemovedEvent
- type OIDCSettingsAddedEvent
- type OIDCSettingsChangedEvent
- type OIDCSettingsChanges
- type PasswordAgePolicyAddedEvent
- type PasswordAgePolicyChangedEvent
- type PasswordComplexityPolicyAddedEvent
- type PasswordComplexityPolicyChangedEvent
- type PrivacyPolicyAddedEvent
- type PrivacyPolicyChangedEvent
- type ProjectSetEvent
- type SMSConfigActivatedEvent
- type SMSConfigDeactivatedEvent
- type SMSConfigRemovedEvent
- type SMSConfigTwilioAddedEvent
- type SMSConfigTwilioChangedEvent
- type SMSConfigTwilioChanges
- type SMSConfigTwilioTokenChangedEvent
- type SMTPConfigAddedEvent
- type SMTPConfigChangedEvent
- type SMTPConfigChanges
- type SMTPConfigPasswordChangedEvent
- type SMTPConfigRemovedEvent
- type SecretGeneratorAddedEvent
- type SecretGeneratorChangedEvent
- type SecretGeneratorChanges
- type SecretGeneratorRemovedEvent
Constants ¶
View Source
const ( AggregateType = "instance" AggregateVersion = "v1" )
View Source
const ( UniqueInstanceDomain = "instance_domain" InstanceDomainAddedEventType = domainEventPrefix + "added" InstanceDomainPrimarySetEventType = domainEventPrefix + "primary.set" InstanceDomainRemovedEventType = domainEventPrefix + "removed" )
View Source
const ( ProjectSetEventType eventstore.EventType = "instance.iam.project.set" ConsoleSetEventType eventstore.EventType = "instance.iam.console.set" )
View Source
const ( IDPConfigAddedEventType eventstore.EventType = "iam.idp.config.added" IDPConfigChangedEventType eventstore.EventType = "iam.idp.config.changed" IDPConfigRemovedEventType eventstore.EventType = "iam.idp.config.removed" IDPConfigDeactivatedEventType eventstore.EventType = "iam.idp.config.deactivated" IDPConfigReactivatedEventType eventstore.EventType = "iam.idp.config.reactivated" )
View Source
const ( IDPJWTConfigAddedEventType eventstore.EventType = "iam.idp." + idpconfig.JWTConfigAddedEventType IDPJWTConfigChangedEventType eventstore.EventType = "iam.idp." + idpconfig.JWTConfigChangedEventType )
View Source
const ( IDPOIDCConfigAddedEventType eventstore.EventType = "iam.idp." + idpconfig.OIDCConfigAddedEventType IDPOIDCConfigChangedEventType eventstore.EventType = "iam.idp." + idpconfig.OIDCConfigChangedEventType )
View Source
const ( InstanceAddedEventType = instanceEventTypePrefix + "added" InstanceChangedEventType = instanceEventTypePrefix + "changed" InstanceRemovedEventType = instanceEventTypePrefix + "removed" )
View Source
const ( OIDCSettingsAddedEventType = instanceEventTypePrefix + oidcSettingsPrefix + "added" OIDCSettingsChangedEventType = instanceEventTypePrefix + oidcSettingsPrefix + "changed" )
View Source
const ( PasswordComplexityPolicyAddedEventType = instanceEventTypePrefix + policy.PasswordComplexityPolicyAddedEventType PasswordComplexityPolicyChangedEventType = instanceEventTypePrefix + policy.PasswordComplexityPolicyChangedEventType )
View Source
const ( PrivacyPolicyAddedEventType = instanceEventTypePrefix + policy.PrivacyPolicyAddedEventType PrivacyPolicyChangedEventType = instanceEventTypePrefix + policy.PrivacyPolicyChangedEventType )
View Source
const ( UniqueSecretGeneratorType = "secret_generator" SecretGeneratorAddedEventType = instanceEventTypePrefix + secretGeneratorPrefix + "added" SecretGeneratorChangedEventType = instanceEventTypePrefix + secretGeneratorPrefix + "changed" SecretGeneratorRemovedEventType = instanceEventTypePrefix + secretGeneratorPrefix + "removed" )
View Source
const ( SMSConfigTwilioAddedEventType = instanceEventTypePrefix + smsConfigPrefix + smsConfigTwilioPrefix + "added" SMSConfigTwilioChangedEventType = instanceEventTypePrefix + smsConfigPrefix + smsConfigTwilioPrefix + "changed" SMSConfigTwilioTokenChangedEventType = instanceEventTypePrefix + smsConfigPrefix + smsConfigTwilioPrefix + "token.changed" SMSConfigActivatedEventType = instanceEventTypePrefix + smsConfigPrefix + smsConfigTwilioPrefix + "activated" SMSConfigDeactivatedEventType = instanceEventTypePrefix + smsConfigPrefix + smsConfigTwilioPrefix + "deactivated" SMSConfigRemovedEventType = instanceEventTypePrefix + smsConfigPrefix + smsConfigTwilioPrefix + "removed" )
View Source
const ( SMTPConfigAddedEventType = instanceEventTypePrefix + smtpConfigPrefix + "added" SMTPConfigChangedEventType = instanceEventTypePrefix + smtpConfigPrefix + "changed" SMTPConfigPasswordChangedEventType = instanceEventTypePrefix + smtpConfigPrefix + "password.changed" SMTPConfigRemovedEventType = instanceEventTypePrefix + smtpConfigPrefix + "removed" )
View Source
const (
DefaultLanguageSetEventType eventstore.EventType = "instance.default.language.set"
)
View Source
const (
DefaultOrgSetEventType eventstore.EventType = "instance.default.org.set"
)
Variables ¶
View Source
var ( CustomTextSetEventType = instanceEventTypePrefix + policy.CustomTextSetEventType CustomTextRemovedEventType = instanceEventTypePrefix + policy.CustomTextRemovedEventType CustomTextTemplateRemovedEventType = instanceEventTypePrefix + policy.CustomTextTemplateRemovedEventType )
View Source
var ( DebugNotificationProviderFileAddedEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + fileType + settings.DebugNotificationProviderAdded DebugNotificationProviderFileChangedEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + fileType + settings.DebugNotificationProviderChanged DebugNotificationProviderFileRemovedEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + fileType + settings.DebugNotificationProviderRemoved )
View Source
var ( DebugNotificationProviderLogAddedEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + logType + settings.DebugNotificationProviderAdded DebugNotificationProviderLogChangedEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + logType + settings.DebugNotificationProviderChanged DebugNotificationProviderLogEnabledEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + logType + settings.DebugNotificationProviderEnabled DebugNotificationProviderLogDisabledEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + logType + settings.DebugNotificationProviderDisabled DebugNotificationProviderLogRemovedEventType = instanceEventTypePrefix + settings.DebugNotificationPrefix + logType + settings.DebugNotificationProviderRemoved )
View Source
var ( MemberAddedEventType = instanceEventTypePrefix + member.AddedEventType MemberChangedEventType = instanceEventTypePrefix + member.ChangedEventType MemberRemovedEventType = instanceEventTypePrefix + member.RemovedEventType MemberCascadeRemovedEventType = instanceEventTypePrefix + member.CascadeRemovedEventType )
View Source
var ( DomainPolicyAddedEventType = instanceEventTypePrefix + policy.DomainPolicyAddedEventType DomainPolicyChangedEventType = instanceEventTypePrefix + policy.DomainPolicyChangedEventType )
View Source
var ( LabelPolicyAddedEventType = instanceEventTypePrefix + policy.LabelPolicyAddedEventType LabelPolicyChangedEventType = instanceEventTypePrefix + policy.LabelPolicyChangedEventType LabelPolicyActivatedEventType = instanceEventTypePrefix + policy.LabelPolicyActivatedEventType LabelPolicyLogoAddedEventType = instanceEventTypePrefix + policy.LabelPolicyLogoAddedEventType LabelPolicyLogoRemovedEventType = instanceEventTypePrefix + policy.LabelPolicyLogoRemovedEventType LabelPolicyIconAddedEventType = instanceEventTypePrefix + policy.LabelPolicyIconAddedEventType LabelPolicyIconRemovedEventType = instanceEventTypePrefix + policy.LabelPolicyIconRemovedEventType LabelPolicyLogoDarkAddedEventType = instanceEventTypePrefix + policy.LabelPolicyLogoDarkAddedEventType LabelPolicyLogoDarkRemovedEventType = instanceEventTypePrefix + policy.LabelPolicyLogoDarkRemovedEventType LabelPolicyIconDarkAddedEventType = instanceEventTypePrefix + policy.LabelPolicyIconDarkAddedEventType LabelPolicyIconDarkRemovedEventType = instanceEventTypePrefix + policy.LabelPolicyIconDarkRemovedEventType LabelPolicyFontAddedEventType = instanceEventTypePrefix + policy.LabelPolicyFontAddedEventType LabelPolicyFontRemovedEventType = instanceEventTypePrefix + policy.LabelPolicyFontRemovedEventType LabelPolicyAssetsRemovedEventType = instanceEventTypePrefix + policy.LabelPolicyAssetsRemovedEventType )
View Source
var ( LoginPolicyAddedEventType = instanceEventTypePrefix + policy.LoginPolicyAddedEventType LoginPolicyChangedEventType = instanceEventTypePrefix + policy.LoginPolicyChangedEventType )
View Source
var ( LoginPolicySecondFactorAddedEventType = instanceEventTypePrefix + policy.LoginPolicySecondFactorAddedEventType LoginPolicySecondFactorRemovedEventType = instanceEventTypePrefix + policy.LoginPolicySecondFactorRemovedEventType LoginPolicyMultiFactorAddedEventType = instanceEventTypePrefix + policy.LoginPolicyMultiFactorAddedEventType LoginPolicyMultiFactorRemovedEventType = instanceEventTypePrefix + policy.LoginPolicyMultiFactorRemovedEventType )
View Source
var ( LoginPolicyIDPProviderAddedEventType = instanceEventTypePrefix + policy.LoginPolicyIDPProviderAddedType LoginPolicyIDPProviderRemovedEventType = instanceEventTypePrefix + policy.LoginPolicyIDPProviderRemovedType LoginPolicyIDPProviderCascadeRemovedEventType = instanceEventTypePrefix + policy.LoginPolicyIDPProviderCascadeRemovedType )
View Source
var ( MailTemplateAddedEventType = instanceEventTypePrefix + policy.MailTemplatePolicyAddedEventType MailTemplateChangedEventType = instanceEventTypePrefix + policy.MailTemplatePolicyChangedEventType )
View Source
var ( MailTextAddedEventType = instanceEventTypePrefix + policy.MailTextPolicyAddedEventType MailTextChangedEventType = instanceEventTypePrefix + policy.MailTextPolicyChangedEventType )
View Source
var ( PasswordAgePolicyAddedEventType = instanceEventTypePrefix + policy.PasswordAgePolicyAddedEventType PasswordAgePolicyChangedEventType = instanceEventTypePrefix + policy.PasswordAgePolicyChangedEventType )
View Source
var ( LockoutPolicyAddedEventType = instanceEventTypePrefix + policy.LockoutPolicyAddedEventType LockoutPolicyChangedEventType = instanceEventTypePrefix + policy.LockoutPolicyChangedEventType )
Functions ¶
func ChangeOIDCSettingsAccessTokenLifetime ¶
func ChangeOIDCSettingsAccessTokenLifetime(accessTokenLifetime time.Duration) func(event *OIDCSettingsChangedEvent)
func ChangeOIDCSettingsIdTokenLifetime ¶
func ChangeOIDCSettingsIdTokenLifetime(idTokenLifetime time.Duration) func(event *OIDCSettingsChangedEvent)
func ChangeOIDCSettingsRefreshTokenExpiration ¶
func ChangeOIDCSettingsRefreshTokenExpiration(refreshTokenExpiration time.Duration) func(event *OIDCSettingsChangedEvent)
func ChangeOIDCSettingsRefreshTokenIdleExpiration ¶
func ChangeOIDCSettingsRefreshTokenIdleExpiration(refreshTokenIdleExpiration time.Duration) func(event *OIDCSettingsChangedEvent)
func ChangeSMSConfigTwilioSID ¶
func ChangeSMSConfigTwilioSID(sid string) func(event *SMSConfigTwilioChangedEvent)
func ChangeSMSConfigTwilioSenderNumber ¶
func ChangeSMSConfigTwilioSenderNumber(senderNumber string) func(event *SMSConfigTwilioChangedEvent)
func ChangeSMTPConfigFromAddress ¶
func ChangeSMTPConfigFromAddress(senderAddress string) func(event *SMTPConfigChangedEvent)
func ChangeSMTPConfigFromName ¶
func ChangeSMTPConfigFromName(senderName string) func(event *SMTPConfigChangedEvent)
func ChangeSMTPConfigSMTPHost ¶
func ChangeSMTPConfigSMTPHost(smtpHost string) func(event *SMTPConfigChangedEvent)
func ChangeSMTPConfigSMTPUser ¶
func ChangeSMTPConfigSMTPUser(smtpUser string) func(event *SMTPConfigChangedEvent)
func ChangeSMTPConfigTLS ¶
func ChangeSMTPConfigTLS(tls bool) func(event *SMTPConfigChangedEvent)
func ChangeSecretGeneratorExpiry ¶
func ChangeSecretGeneratorExpiry(expiry time.Duration) func(event *SecretGeneratorChangedEvent)
func ChangeSecretGeneratorIncludeDigits ¶
func ChangeSecretGeneratorIncludeDigits(includeDigits bool) func(event *SecretGeneratorChangedEvent)
func ChangeSecretGeneratorIncludeLowerLetters ¶
func ChangeSecretGeneratorIncludeLowerLetters(includeLowerLetters bool) func(event *SecretGeneratorChangedEvent)
func ChangeSecretGeneratorIncludeSymbols ¶
func ChangeSecretGeneratorIncludeSymbols(includeSymbols bool) func(event *SecretGeneratorChangedEvent)
func ChangeSecretGeneratorIncludeUpperLetters ¶
func ChangeSecretGeneratorIncludeUpperLetters(includeUpperLetters bool) func(event *SecretGeneratorChangedEvent)
func ChangeSecretGeneratorLength ¶
func ChangeSecretGeneratorLength(length uint) func(event *SecretGeneratorChangedEvent)
func ConsoleSetMapper ¶
func ConsoleSetMapper(event *repository.Event) (eventstore.Event, error)
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 DebugNotificationProviderFileAddedEventMapper ¶
func DebugNotificationProviderFileAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func DebugNotificationProviderFileChangedEventMapper ¶
func DebugNotificationProviderFileChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func DebugNotificationProviderFileRemovedEventMapper ¶
func DebugNotificationProviderFileRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func DebugNotificationProviderLogAddedEventMapper ¶
func DebugNotificationProviderLogAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func DebugNotificationProviderLogChangedEventMapper ¶
func DebugNotificationProviderLogChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func DebugNotificationProviderLogRemovedEventMapper ¶
func DebugNotificationProviderLogRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func DefaultLanguageSetMapper ¶
func DefaultLanguageSetMapper(event *repository.Event) (eventstore.Event, error)
func DefaultOrgSetMapper ¶
func DefaultOrgSetMapper(event *repository.Event) (eventstore.Event, error)
func DomainAddedEventMapper ¶
func DomainAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func DomainPolicyAddedEventMapper ¶
func DomainPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func DomainPolicyChangedEventMapper ¶
func DomainPolicyChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func DomainPrimarySetEventMapper ¶
func DomainPrimarySetEventMapper(event *repository.Event) (eventstore.Event, error)
func DomainRemovedEventMapper ¶
func DomainRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigAddedEventMapper ¶
func IDPConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigChangedEventMapper ¶
func IDPConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigDeactivatedEventMapper ¶
func IDPConfigDeactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigReactivatedEventMapper ¶
func IDPConfigReactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPConfigRemovedEventMapper ¶
func IDPConfigRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPJWTConfigAddedEventMapper ¶
func IDPJWTConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPJWTConfigChangedEventMapper ¶
func IDPJWTConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPOIDCConfigAddedEventMapper ¶
func IDPOIDCConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func IDPOIDCConfigChangedEventMapper ¶
func IDPOIDCConfigChangedEventMapper(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 InstanceAddedEventMapper ¶
func InstanceAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func InstanceChangedEventMapper ¶
func InstanceChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func InstanceRemovedEventMapper ¶
func InstanceRemovedEventMapper(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 LockoutPolicyAddedEventMapper ¶
func LockoutPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func LockoutPolicyChangedEventMapper ¶
func LockoutPolicyChangedEventMapper(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 MailTemplateAddedEventMapper ¶
func MailTemplateAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MailTemplateChangedEventMapper ¶
func MailTemplateChangedEventMapper(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 MemberAddedEventMapper ¶
func MemberAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func MemberCascadeRemovedEventMapper ¶
func MemberCascadeRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func MemberChangedEventMapper ¶
func MemberChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func MemberRemovedEventMapper ¶
func MemberRemovedEventMapper(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 NewAddInstanceDomainUniqueConstraint ¶
func NewAddInstanceDomainUniqueConstraint(domain string) *eventstore.EventUniqueConstraint
func NewAddSecretGeneratorTypeUniqueConstraint ¶
func NewAddSecretGeneratorTypeUniqueConstraint(generatorType domain.SecretGeneratorType) *eventstore.EventUniqueConstraint
func NewRemoveInstanceDomainUniqueConstraint ¶
func NewRemoveInstanceDomainUniqueConstraint(domain string) *eventstore.EventUniqueConstraint
func NewRemoveSecretGeneratorTypeUniqueConstraint ¶
func NewRemoveSecretGeneratorTypeUniqueConstraint(generatorType domain.SecretGeneratorType) *eventstore.EventUniqueConstraint
func OIDCSettingsAddedEventMapper ¶
func OIDCSettingsAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func OIDCSettingsChangedEventMapper ¶
func OIDCSettingsChangedEventMapper(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 PasswordComplexityPolicyAddedEventMapper ¶
func PasswordComplexityPolicyAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func PasswordComplexityPolicyChangedEventMapper ¶
func PasswordComplexityPolicyChangedEventMapper(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 ProjectSetMapper ¶
func ProjectSetMapper(event *repository.Event) (eventstore.Event, error)
func RegisterEventMappers ¶
func RegisterEventMappers(es *eventstore.Eventstore)
func SMSConfigActivatedEventMapper ¶
func SMSConfigActivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMSConfigDeactivatedEventMapper ¶
func SMSConfigDeactivatedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMSConfigRemovedEventMapper ¶
func SMSConfigRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMSConfigTwilioAddedEventMapper ¶
func SMSConfigTwilioAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMSConfigTwilioChangedEventMapper ¶
func SMSConfigTwilioChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMSConfigTwilioTokenChangedEventMapper ¶
func SMSConfigTwilioTokenChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMTPConfigAddedEventMapper ¶
func SMTPConfigAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMTPConfigChangedEventMapper ¶
func SMTPConfigChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMTPConfigPasswordChangedEventMapper ¶
func SMTPConfigPasswordChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func SMTPConfigRemovedEventMapper ¶
func SMTPConfigRemovedEventMapper(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)
func SecretGeneratorAddedEventMapper ¶
func SecretGeneratorAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func SecretGeneratorChangedEventMapper ¶
func SecretGeneratorChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func SecretGeneratorRemovedEventMapper ¶
func SecretGeneratorRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
Types ¶
type ConsoleSetEvent ¶
type ConsoleSetEvent struct { eventstore.BaseEvent `json:"-"` ClientID string `json:"clientId"` AppID string `json:"appId"` }
func NewIAMConsoleSetEvent ¶
func NewIAMConsoleSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, clientID, appID *string, ) *ConsoleSetEvent
func (*ConsoleSetEvent) Data ¶
func (e *ConsoleSetEvent) Data() interface{}
func (*ConsoleSetEvent) UniqueConstraints ¶
func (e *ConsoleSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type CustomTextRemovedEvent ¶
type CustomTextRemovedEvent struct {
policy.CustomTextRemovedEvent
}
func NewCustomTextRemovedEvent ¶
func NewCustomTextRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template, key string, language language.Tag, ) *CustomTextRemovedEvent
type CustomTextSetEvent ¶
type CustomTextSetEvent struct {
policy.CustomTextSetEvent
}
func NewCustomTextSetEvent ¶
func NewCustomTextSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, template, key, text string, language language.Tag, ) *CustomTextSetEvent
type CustomTextTemplateRemovedEvent ¶
type CustomTextTemplateRemovedEvent struct {
policy.CustomTextTemplateRemovedEvent
}
func NewCustomTextTemplateRemovedEvent ¶
func NewCustomTextTemplateRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, template string, language language.Tag, ) *CustomTextTemplateRemovedEvent
type DebugNotificationProviderFileAddedEvent ¶
type DebugNotificationProviderFileAddedEvent struct {
settings.DebugNotificationProviderAddedEvent
}
func NewDebugNotificationProviderFileAddedEvent ¶
func NewDebugNotificationProviderFileAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, compact bool, ) *DebugNotificationProviderFileAddedEvent
type DebugNotificationProviderFileChangedEvent ¶
type DebugNotificationProviderFileChangedEvent struct {
settings.DebugNotificationProviderChangedEvent
}
func NewDebugNotificationProviderFileChangedEvent ¶
func NewDebugNotificationProviderFileChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []settings.DebugNotificationProviderChanges, ) (*DebugNotificationProviderFileChangedEvent, error)
type DebugNotificationProviderFileRemovedEvent ¶
type DebugNotificationProviderFileRemovedEvent struct {
settings.DebugNotificationProviderRemovedEvent
}
func NewDebugNotificationProviderFileRemovedEvent ¶
func NewDebugNotificationProviderFileRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *DebugNotificationProviderFileRemovedEvent
type DebugNotificationProviderLogAddedEvent ¶
type DebugNotificationProviderLogAddedEvent struct {
settings.DebugNotificationProviderAddedEvent
}
func NewDebugNotificationProviderLogAddedEvent ¶
func NewDebugNotificationProviderLogAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, compact bool, ) *DebugNotificationProviderLogAddedEvent
type DebugNotificationProviderLogChangedEvent ¶
type DebugNotificationProviderLogChangedEvent struct {
settings.DebugNotificationProviderChangedEvent
}
func NewDebugNotificationProviderLogChangedEvent ¶
func NewDebugNotificationProviderLogChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []settings.DebugNotificationProviderChanges, ) (*DebugNotificationProviderLogChangedEvent, error)
type DebugNotificationProviderLogRemovedEvent ¶
type DebugNotificationProviderLogRemovedEvent struct {
settings.DebugNotificationProviderRemovedEvent
}
func NewDebugNotificationProviderLogRemovedEvent ¶
func NewDebugNotificationProviderLogRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *DebugNotificationProviderLogRemovedEvent
type DefaultLanguageSetEvent ¶
type DefaultLanguageSetEvent struct { eventstore.BaseEvent `json:"-"` Language language.Tag `json:"language"` }
func NewDefaultLanguageSetEvent ¶
func NewDefaultLanguageSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, language language.Tag, ) *DefaultLanguageSetEvent
func (*DefaultLanguageSetEvent) Data ¶
func (e *DefaultLanguageSetEvent) Data() interface{}
func (*DefaultLanguageSetEvent) UniqueConstraints ¶
func (e *DefaultLanguageSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DefaultOrgSetEvent ¶
type DefaultOrgSetEvent struct { eventstore.BaseEvent `json:"-"` OrgID string `json:"orgId"` }
func NewDefaultOrgSetEventEvent ¶
func NewDefaultOrgSetEventEvent( ctx context.Context, aggregate *eventstore.Aggregate, orgID string, ) *DefaultOrgSetEvent
func (*DefaultOrgSetEvent) Data ¶
func (e *DefaultOrgSetEvent) Data() interface{}
func (*DefaultOrgSetEvent) UniqueConstraints ¶
func (e *DefaultOrgSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DomainAddedEvent ¶
type DomainAddedEvent struct { eventstore.BaseEvent `json:"-"` Domain string `json:"domain,omitempty"` Generated bool `json:"generated,omitempty"` }
func NewDomainAddedEvent ¶
func NewDomainAddedEvent(ctx context.Context, aggregate *eventstore.Aggregate, domain string, generated bool) *DomainAddedEvent
func (*DomainAddedEvent) Data ¶
func (e *DomainAddedEvent) Data() interface{}
func (*DomainAddedEvent) UniqueConstraints ¶
func (e *DomainAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DomainPolicyAddedEvent ¶
type DomainPolicyAddedEvent struct {
policy.DomainPolicyAddedEvent
}
func NewDomainPolicyAddedEvent ¶
func NewDomainPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userLoginMustBeDomain, validateOrgDomain, smtpSenderAddressMatchesInstanceDomain bool, ) *DomainPolicyAddedEvent
type DomainPolicyChangedEvent ¶
type DomainPolicyChangedEvent struct {
policy.DomainPolicyChangedEvent
}
func NewDomainPolicyChangedEvent ¶
func NewDomainPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.DomainPolicyChanges, ) (*DomainPolicyChangedEvent, error)
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"` }
func NewDomainRemovedEvent ¶
func NewDomainRemovedEvent(ctx context.Context, aggregate *eventstore.Aggregate, domain string) *DomainRemovedEvent
func (*DomainRemovedEvent) Data ¶
func (e *DomainRemovedEvent) Data() interface{}
func (*DomainRemovedEvent) UniqueConstraints ¶
func (e *DomainRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
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 ¶
type IDPJWTConfigAddedEvent struct {
idpconfig.JWTConfigAddedEvent
}
func NewIDPJWTConfigAddedEvent ¶
func NewIDPJWTConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, idpConfigID, jwtEndpoint, issuer, keysEndpoint, headerName string, ) *IDPJWTConfigAddedEvent
type IDPJWTConfigChangedEvent ¶
type IDPJWTConfigChangedEvent struct {
idpconfig.JWTConfigChangedEvent
}
func NewIDPJWTConfigChangedEvent ¶
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, ) *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 InstanceAddedEvent ¶
type InstanceAddedEvent struct { eventstore.BaseEvent `json:"-"` Name string `json:"name,omitempty"` }
func NewInstanceAddedEvent ¶
func NewInstanceAddedEvent(ctx context.Context, aggregate *eventstore.Aggregate, name string) *InstanceAddedEvent
func (*InstanceAddedEvent) Data ¶
func (e *InstanceAddedEvent) Data() interface{}
func (*InstanceAddedEvent) UniqueConstraints ¶
func (e *InstanceAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type InstanceChangedEvent ¶
type InstanceChangedEvent struct { eventstore.BaseEvent `json:"-"` Name string `json:"name,omitempty"` }
func NewInstanceChangedEvent ¶
func NewInstanceChangedEvent(ctx context.Context, aggregate *eventstore.Aggregate, newName string) *InstanceChangedEvent
func (*InstanceChangedEvent) Data ¶
func (e *InstanceChangedEvent) Data() interface{}
func (*InstanceChangedEvent) UniqueConstraints ¶
func (e *InstanceChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type InstanceRemovedEvent ¶
type InstanceRemovedEvent struct { eventstore.BaseEvent `json:"-"` // contains filtered or unexported fields }
func NewInstanceRemovedEvent ¶
func NewInstanceRemovedEvent(ctx context.Context, aggregate *eventstore.Aggregate, name string) *InstanceRemovedEvent
func (*InstanceRemovedEvent) Data ¶
func (e *InstanceRemovedEvent) Data() interface{}
func (*InstanceRemovedEvent) UniqueConstraints ¶
func (e *InstanceRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type LabelPolicyActivatedEvent ¶
type LabelPolicyActivatedEvent struct {
policy.LabelPolicyActivatedEvent
}
func NewLabelPolicyActivatedEvent ¶
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 ¶
type LabelPolicyAssetsRemovedEvent struct {
policy.LabelPolicyAssetsRemovedEvent
}
func NewLabelPolicyAssetsRemovedEvent ¶
func NewLabelPolicyAssetsRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *LabelPolicyAssetsRemovedEvent
func (*LabelPolicyAssetsRemovedEvent) Data ¶
func (e *LabelPolicyAssetsRemovedEvent) Data() interface{}
func (*LabelPolicyAssetsRemovedEvent) UniqueConstraints ¶
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 ¶
type LabelPolicyFontAddedEvent struct {
policy.LabelPolicyFontAddedEvent
}
func NewLabelPolicyFontAddedEvent ¶
func NewLabelPolicyFontAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyFontAddedEvent
type LabelPolicyFontRemovedEvent ¶
type LabelPolicyFontRemovedEvent struct {
policy.LabelPolicyFontRemovedEvent
}
func NewLabelPolicyFontRemovedEvent ¶
func NewLabelPolicyFontRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyFontRemovedEvent
type LabelPolicyIconAddedEvent ¶
type LabelPolicyIconAddedEvent struct {
policy.LabelPolicyIconAddedEvent
}
func NewLabelPolicyIconAddedEvent ¶
func NewLabelPolicyIconAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconAddedEvent
type LabelPolicyIconDarkAddedEvent ¶
type LabelPolicyIconDarkAddedEvent struct {
policy.LabelPolicyIconDarkAddedEvent
}
func NewLabelPolicyIconDarkAddedEvent ¶
func NewLabelPolicyIconDarkAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconDarkAddedEvent
type LabelPolicyIconDarkRemovedEvent ¶
type LabelPolicyIconDarkRemovedEvent struct {
policy.LabelPolicyIconDarkRemovedEvent
}
func NewLabelPolicyIconDarkRemovedEvent ¶
func NewLabelPolicyIconDarkRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconDarkRemovedEvent
type LabelPolicyIconRemovedEvent ¶
type LabelPolicyIconRemovedEvent struct {
policy.LabelPolicyIconRemovedEvent
}
func NewLabelPolicyIconRemovedEvent ¶
func NewLabelPolicyIconRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyIconRemovedEvent
type LabelPolicyLogoAddedEvent ¶
type LabelPolicyLogoAddedEvent struct {
policy.LabelPolicyLogoAddedEvent
}
func NewLabelPolicyLogoAddedEvent ¶
func NewLabelPolicyLogoAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoAddedEvent
type LabelPolicyLogoDarkAddedEvent ¶
type LabelPolicyLogoDarkAddedEvent struct {
policy.LabelPolicyLogoDarkAddedEvent
}
func NewLabelPolicyLogoDarkAddedEvent ¶
func NewLabelPolicyLogoDarkAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoDarkAddedEvent
type LabelPolicyLogoDarkRemovedEvent ¶
type LabelPolicyLogoDarkRemovedEvent struct {
policy.LabelPolicyLogoDarkRemovedEvent
}
func NewLabelPolicyLogoDarkRemovedEvent ¶
func NewLabelPolicyLogoDarkRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoDarkRemovedEvent
type LabelPolicyLogoRemovedEvent ¶
type LabelPolicyLogoRemovedEvent struct {
policy.LabelPolicyLogoRemovedEvent
}
func NewLabelPolicyLogoRemovedEvent ¶
func NewLabelPolicyLogoRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, storageKey string, ) *LabelPolicyLogoRemovedEvent
type LockoutPolicyAddedEvent ¶
type LockoutPolicyAddedEvent struct {
policy.LockoutPolicyAddedEvent
}
func NewLockoutPolicyAddedEvent ¶
func NewLockoutPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, maxAttempts uint64, showLockoutFailure bool, ) *LockoutPolicyAddedEvent
type LockoutPolicyChangedEvent ¶
type LockoutPolicyChangedEvent struct {
policy.LockoutPolicyChangedEvent
}
func NewLockoutPolicyChangedEvent ¶
func NewLockoutPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.LockoutPolicyChanges, ) (*LockoutPolicyChangedEvent, error)
type LoginPolicyAddedEvent ¶
type LoginPolicyAddedEvent struct {
policy.LoginPolicyAddedEvent
}
func NewLoginPolicyAddedEvent ¶
func NewLoginPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, allowUsernamePassword, allowRegister, allowExternalIDP, forceMFA, hidePasswordReset, ignoreUnknownUsernames, allowDomainDiscovery, disableLoginWithEmail, disableLoginWithPhone bool, passwordlessType domain.PasswordlessType, defaultRedirectURI string, passwordCheckLifetime, externalLoginCheckLifetime, mfaInitSkipLifetime, secondFactorCheckLifetime, multiFactorCheckLifetime time.Duration, ) *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 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 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 MemberAddedEvent ¶
type MemberAddedEvent struct {
member.MemberAddedEvent
}
func NewMemberAddedEvent ¶
func NewMemberAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, userID string, roles ...string, ) *MemberAddedEvent
type MemberCascadeRemovedEvent ¶
type MemberCascadeRemovedEvent struct {
member.MemberCascadeRemovedEvent
}
func NewMemberCascadeRemovedEvent ¶
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 OIDCSettingsAddedEvent ¶
type OIDCSettingsAddedEvent struct { eventstore.BaseEvent `json:"-"` AccessTokenLifetime time.Duration `json:"accessTokenLifetime,omitempty"` IdTokenLifetime time.Duration `json:"idTokenLifetime,omitempty"` RefreshTokenIdleExpiration time.Duration `json:"refreshTokenIdleExpiration,omitempty"` RefreshTokenExpiration time.Duration `json:"refreshTokenExpiration,omitempty"` }
func NewOIDCSettingsAddedEvent ¶
func NewOIDCSettingsAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, accessTokenLifetime, idTokenLifetime, refreshTokenIdleExpiration, refreshTokenExpiration time.Duration, ) *OIDCSettingsAddedEvent
func (*OIDCSettingsAddedEvent) Data ¶
func (e *OIDCSettingsAddedEvent) Data() interface{}
func (*OIDCSettingsAddedEvent) UniqueConstraints ¶
func (e *OIDCSettingsAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OIDCSettingsChangedEvent ¶
type OIDCSettingsChangedEvent struct { eventstore.BaseEvent `json:"-"` AccessTokenLifetime *time.Duration `json:"accessTokenLifetime,omitempty"` IdTokenLifetime *time.Duration `json:"idTokenLifetime,omitempty"` RefreshTokenIdleExpiration *time.Duration `json:"refreshTokenIdleExpiration,omitempty"` RefreshTokenExpiration *time.Duration `json:"refreshTokenExpiration,omitempty"` }
func NewOIDCSettingsChangeEvent ¶
func NewOIDCSettingsChangeEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []OIDCSettingsChanges, ) (*OIDCSettingsChangedEvent, error)
func (*OIDCSettingsChangedEvent) Data ¶
func (e *OIDCSettingsChangedEvent) Data() interface{}
func (*OIDCSettingsChangedEvent) UniqueConstraints ¶
func (e *OIDCSettingsChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type OIDCSettingsChanges ¶
type OIDCSettingsChanges func(event *OIDCSettingsChangedEvent)
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 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 PrivacyPolicyAddedEvent ¶
type PrivacyPolicyAddedEvent struct {
policy.PrivacyPolicyAddedEvent
}
func NewPrivacyPolicyAddedEvent ¶
func NewPrivacyPolicyAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, tosLink, privacyLink, helpLink string, ) *PrivacyPolicyAddedEvent
type PrivacyPolicyChangedEvent ¶
type PrivacyPolicyChangedEvent struct {
policy.PrivacyPolicyChangedEvent
}
func NewPrivacyPolicyChangedEvent ¶
func NewPrivacyPolicyChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []policy.PrivacyPolicyChanges, ) (*PrivacyPolicyChangedEvent, error)
type ProjectSetEvent ¶
type ProjectSetEvent struct { eventstore.BaseEvent `json:"-"` ProjectID string `json:"iamProjectId"` }
func NewIAMProjectSetEvent ¶
func NewIAMProjectSetEvent( ctx context.Context, aggregate *eventstore.Aggregate, projectID string, ) *ProjectSetEvent
func (*ProjectSetEvent) Data ¶
func (e *ProjectSetEvent) Data() interface{}
func (*ProjectSetEvent) UniqueConstraints ¶
func (e *ProjectSetEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMSConfigActivatedEvent ¶
type SMSConfigActivatedEvent struct { eventstore.BaseEvent `json:"-"` ID string `json:"id,omitempty"` }
func NewSMSConfigTwilioActivatedEvent ¶
func NewSMSConfigTwilioActivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, id string, ) *SMSConfigActivatedEvent
func (*SMSConfigActivatedEvent) Data ¶
func (e *SMSConfigActivatedEvent) Data() interface{}
func (*SMSConfigActivatedEvent) UniqueConstraints ¶
func (e *SMSConfigActivatedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMSConfigDeactivatedEvent ¶
type SMSConfigDeactivatedEvent struct { eventstore.BaseEvent `json:"-"` ID string `json:"id,omitempty"` }
func NewSMSConfigDeactivatedEvent ¶
func NewSMSConfigDeactivatedEvent( ctx context.Context, aggregate *eventstore.Aggregate, id string, ) *SMSConfigDeactivatedEvent
func (*SMSConfigDeactivatedEvent) Data ¶
func (e *SMSConfigDeactivatedEvent) Data() interface{}
func (*SMSConfigDeactivatedEvent) UniqueConstraints ¶
func (e *SMSConfigDeactivatedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMSConfigRemovedEvent ¶
type SMSConfigRemovedEvent struct { eventstore.BaseEvent `json:"-"` ID string `json:"id,omitempty"` }
func NewSMSConfigRemovedEvent ¶
func NewSMSConfigRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, id string, ) *SMSConfigRemovedEvent
func (*SMSConfigRemovedEvent) Data ¶
func (e *SMSConfigRemovedEvent) Data() interface{}
func (*SMSConfigRemovedEvent) UniqueConstraints ¶
func (e *SMSConfigRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMSConfigTwilioAddedEvent ¶
type SMSConfigTwilioAddedEvent struct { eventstore.BaseEvent `json:"-"` ID string `json:"id,omitempty"` SID string `json:"sid,omitempty"` Token *crypto.CryptoValue `json:"token,omitempty"` SenderNumber string `json:"senderNumber,omitempty"` }
func NewSMSConfigTwilioAddedEvent ¶
func NewSMSConfigTwilioAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, id, sid, senderNumber string, token *crypto.CryptoValue, ) *SMSConfigTwilioAddedEvent
func (*SMSConfigTwilioAddedEvent) Data ¶
func (e *SMSConfigTwilioAddedEvent) Data() interface{}
func (*SMSConfigTwilioAddedEvent) UniqueConstraints ¶
func (e *SMSConfigTwilioAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMSConfigTwilioChangedEvent ¶
type SMSConfigTwilioChangedEvent struct { eventstore.BaseEvent `json:"-"` ID string `json:"id,omitempty"` SID *string `json:"sid,omitempty"` SenderNumber *string `json:"senderNumber,omitempty"` }
func NewSMSConfigTwilioChangedEvent ¶
func NewSMSConfigTwilioChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, id string, changes []SMSConfigTwilioChanges, ) (*SMSConfigTwilioChangedEvent, error)
func (*SMSConfigTwilioChangedEvent) Data ¶
func (e *SMSConfigTwilioChangedEvent) Data() interface{}
func (*SMSConfigTwilioChangedEvent) UniqueConstraints ¶
func (e *SMSConfigTwilioChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMSConfigTwilioChanges ¶
type SMSConfigTwilioChanges func(event *SMSConfigTwilioChangedEvent)
type SMSConfigTwilioTokenChangedEvent ¶
type SMSConfigTwilioTokenChangedEvent struct { eventstore.BaseEvent `json:"-"` ID string `json:"id,omitempty"` Token *crypto.CryptoValue `json:"token,omitempty"` }
func NewSMSConfigTokenChangedEvent ¶
func NewSMSConfigTokenChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, id string, token *crypto.CryptoValue, ) *SMSConfigTwilioTokenChangedEvent
func (*SMSConfigTwilioTokenChangedEvent) Data ¶
func (e *SMSConfigTwilioTokenChangedEvent) Data() interface{}
func (*SMSConfigTwilioTokenChangedEvent) UniqueConstraints ¶
func (e *SMSConfigTwilioTokenChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMTPConfigAddedEvent ¶
type SMTPConfigAddedEvent struct { eventstore.BaseEvent `json:"-"` SenderAddress string `json:"senderAddress,omitempty"` SenderName string `json:"senderName,omitempty"` TLS bool `json:"tls,omitempty"` Host string `json:"host,omitempty"` User string `json:"user,omitempty"` Password *crypto.CryptoValue `json:"password,omitempty"` }
func NewSMTPConfigAddedEvent ¶
func NewSMTPConfigAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, tls bool, senderAddress, senderName, host, user string, password *crypto.CryptoValue, ) *SMTPConfigAddedEvent
func (*SMTPConfigAddedEvent) Data ¶
func (e *SMTPConfigAddedEvent) Data() interface{}
func (*SMTPConfigAddedEvent) UniqueConstraints ¶
func (e *SMTPConfigAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMTPConfigChangedEvent ¶
type SMTPConfigChangedEvent struct { eventstore.BaseEvent `json:"-"` FromAddress *string `json:"senderAddress,omitempty"` FromName *string `json:"senderName,omitempty"` TLS *bool `json:"tls,omitempty"` Host *string `json:"host,omitempty"` User *string `json:"user,omitempty"` }
func NewSMTPConfigChangeEvent ¶
func NewSMTPConfigChangeEvent( ctx context.Context, aggregate *eventstore.Aggregate, changes []SMTPConfigChanges, ) (*SMTPConfigChangedEvent, error)
func (*SMTPConfigChangedEvent) Data ¶
func (e *SMTPConfigChangedEvent) Data() interface{}
func (*SMTPConfigChangedEvent) UniqueConstraints ¶
func (e *SMTPConfigChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMTPConfigChanges ¶
type SMTPConfigChanges func(event *SMTPConfigChangedEvent)
type SMTPConfigPasswordChangedEvent ¶
type SMTPConfigPasswordChangedEvent struct { eventstore.BaseEvent `json:"-"` Password *crypto.CryptoValue `json:"password,omitempty"` }
func NewSMTPConfigPasswordChangedEvent ¶
func NewSMTPConfigPasswordChangedEvent( ctx context.Context, aggregate *eventstore.Aggregate, password *crypto.CryptoValue, ) *SMTPConfigPasswordChangedEvent
func (*SMTPConfigPasswordChangedEvent) Data ¶
func (e *SMTPConfigPasswordChangedEvent) Data() interface{}
func (*SMTPConfigPasswordChangedEvent) UniqueConstraints ¶
func (e *SMTPConfigPasswordChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SMTPConfigRemovedEvent ¶
type SMTPConfigRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewSMTPConfigRemovedEvent ¶
func NewSMTPConfigRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, ) *SMTPConfigRemovedEvent
func (*SMTPConfigRemovedEvent) Data ¶
func (e *SMTPConfigRemovedEvent) Data() interface{}
func (*SMTPConfigRemovedEvent) UniqueConstraints ¶
func (e *SMTPConfigRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SecretGeneratorAddedEvent ¶
type SecretGeneratorAddedEvent struct { eventstore.BaseEvent `json:"-"` GeneratorType domain.SecretGeneratorType `json:"generatorType"` Length uint `json:"length,omitempty"` Expiry time.Duration `json:"expiry,omitempty"` IncludeLowerLetters bool `json:"includeLowerLetters,omitempty"` IncludeUpperLetters bool `json:"includeUpperLetters,omitempty"` IncludeDigits bool `json:"includeDigits,omitempty"` IncludeSymbols bool `json:"includeSymbols,omitempty"` }
func NewSecretGeneratorAddedEvent ¶
func NewSecretGeneratorAddedEvent( ctx context.Context, aggregate *eventstore.Aggregate, generatorType domain.SecretGeneratorType, length uint, expiry time.Duration, includeLowerLetters, includeUpperLetters, includeDigits, includeSymbols bool, ) *SecretGeneratorAddedEvent
func (*SecretGeneratorAddedEvent) Data ¶
func (e *SecretGeneratorAddedEvent) Data() interface{}
func (*SecretGeneratorAddedEvent) UniqueConstraints ¶
func (e *SecretGeneratorAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SecretGeneratorChangedEvent ¶
type SecretGeneratorChangedEvent struct { eventstore.BaseEvent `json:"-"` GeneratorType domain.SecretGeneratorType `json:"generatorType"` Length *uint `json:"length,omitempty"` Expiry *time.Duration `json:"expiry,omitempty"` IncludeLowerLetters *bool `json:"includeLowerLetters,omitempty"` IncludeUpperLetters *bool `json:"includeUpperLetters,omitempty"` IncludeDigits *bool `json:"includeDigits,omitempty"` IncludeSymbols *bool `json:"includeSymbols,omitempty"` }
func NewSecretGeneratorChangeEvent ¶
func NewSecretGeneratorChangeEvent( ctx context.Context, aggregate *eventstore.Aggregate, generatorType domain.SecretGeneratorType, changes []SecretGeneratorChanges, ) (*SecretGeneratorChangedEvent, error)
func (*SecretGeneratorChangedEvent) Data ¶
func (e *SecretGeneratorChangedEvent) Data() interface{}
func (*SecretGeneratorChangedEvent) UniqueConstraints ¶
func (e *SecretGeneratorChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type SecretGeneratorChanges ¶
type SecretGeneratorChanges func(event *SecretGeneratorChangedEvent)
type SecretGeneratorRemovedEvent ¶
type SecretGeneratorRemovedEvent struct { eventstore.BaseEvent `json:"-"` GeneratorType domain.SecretGeneratorType `json:"generatorType"` }
func NewSecretGeneratorRemovedEvent ¶
func NewSecretGeneratorRemovedEvent( ctx context.Context, aggregate *eventstore.Aggregate, generatorType domain.SecretGeneratorType, ) *SecretGeneratorRemovedEvent
func (*SecretGeneratorRemovedEvent) Data ¶
func (e *SecretGeneratorRemovedEvent) Data() interface{}
func (*SecretGeneratorRemovedEvent) UniqueConstraints ¶
func (e *SecretGeneratorRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
Source Files ¶
- aggregate.go
- custom_text.go
- debug_notification_file.go
- debug_notification_log.go
- domain.go
- event_default_language.go
- event_iam_project_set.go
- event_org_set.go
- eventstore.go
- idp_config.go
- idp_jwt_config.go
- idp_oidc_config.go
- instance.go
- member.go
- oidc_settings.go
- policy_domain.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_password_age.go
- policy_password_complexity.go
- policy_password_lockout.go
- policy_privacy.go
- secret_generator.go
- sms.go
- smtp_config.go
Click to show internal directories.
Click to hide internal directories.