package domain // These private facts contain only values safe for their public integration // mapping. Persistence revisions and delivery identity belong to the owner adaptor. type PartyRegistered struct { PartyID string AuthVersion uint64 } func (PartyRegistered) DomainEvent() {} type PartyAuthenticationChanged struct { PartyID string AuthVersion uint64 AccessState AccessState AuthenticationEligible bool ReasonCategory ReasonCategory } func (PartyAuthenticationChanged) DomainEvent() {} type PartyProviderBindingEstablished struct { PartyID string BindingID string Identity ProviderIdentity } func (PartyProviderBindingEstablished) DomainEvent() {} type PartyProviderBindingRetired struct { PartyID string BindingID string Identity ProviderIdentity ReasonCategory ReasonCategory } func (PartyProviderBindingRetired) DomainEvent() {}