query

package
v1.80.0-v2.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectGrantGrantedOrgTableAlias    = "o"
	ProjectGrantResourceOwnerTableAlias = "r"
)

Variables

View Source
var (
	ActionColumnID = Column{
					// contains filtered or unexported fields
	}
	ActionColumnCreationDate = Column{
								// contains filtered or unexported fields
	}
	ActionColumnChangeDate = Column{
							// contains filtered or unexported fields
	}
	ActionColumnResourceOwner = Column{
								// contains filtered or unexported fields
	}
	ActionColumnInstanceID = Column{
							// contains filtered or unexported fields
	}
	ActionColumnSequence = Column{
							// contains filtered or unexported fields
	}
	ActionColumnState = Column{
						// contains filtered or unexported fields
	}
	ActionColumnName = Column{
						// contains filtered or unexported fields
	}
	ActionColumnScript = Column{
						// contains filtered or unexported fields
	}
	ActionColumnTimeout = Column{
						// contains filtered or unexported fields
	}
	ActionColumnAllowedToFail = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	FlowsTriggersColumnFlowType = Column{
								// contains filtered or unexported fields
	}
	FlowsTriggersColumnChangeDate = Column{
									// contains filtered or unexported fields
	}
	FlowsTriggersColumnSequence = Column{
								// contains filtered or unexported fields
	}
	FlowsTriggersColumnTriggerType = Column{
									// contains filtered or unexported fields
	}
	FlowsTriggersColumnResourceOwner = Column{
										// contains filtered or unexported fields
	}
	FlowsTriggersColumnInstanceID = Column{
									// contains filtered or unexported fields
	}
	FlowsTriggersColumnTriggerSequence = Column{
										// contains filtered or unexported fields
	}
	FlowsTriggersColumnActionID = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	AppColumnID = Column{
				// contains filtered or unexported fields
	}
	AppColumnName = Column{
					// contains filtered or unexported fields
	}
	AppColumnProjectID = Column{
						// contains filtered or unexported fields
	}
	AppColumnCreationDate = Column{
							// contains filtered or unexported fields
	}
	AppColumnChangeDate = Column{
						// contains filtered or unexported fields
	}
	AppColumnResourceOwner = Column{
							// contains filtered or unexported fields
	}
	AppColumnInstanceID = Column{
						// contains filtered or unexported fields
	}
	AppColumnState = Column{
					// contains filtered or unexported fields
	}
	AppColumnSequence = Column{
						// contains filtered or unexported fields
	}
)
View Source
var (
	AppAPIConfigColumnAppID = Column{
							// contains filtered or unexported fields
	}
	AppAPIConfigColumnClientID = Column{
								// contains filtered or unexported fields
	}
	AppAPIConfigColumnAuthMethod = Column{
									// contains filtered or unexported fields
	}
)
View Source
var (
	AppOIDCConfigColumnAppID = Column{
								// contains filtered or unexported fields
	}
	AppOIDCConfigColumnVersion = Column{
								// contains filtered or unexported fields
	}
	AppOIDCConfigColumnClientID = Column{
								// contains filtered or unexported fields
	}
	AppOIDCConfigColumnRedirectUris = Column{
									// contains filtered or unexported fields
	}
	AppOIDCConfigColumnResponseTypes = Column{
										// contains filtered or unexported fields
	}
	AppOIDCConfigColumnGrantTypes = Column{
									// contains filtered or unexported fields
	}
	AppOIDCConfigColumnApplicationType = Column{
										// contains filtered or unexported fields
	}
	AppOIDCConfigColumnAuthMethodType = Column{
										// contains filtered or unexported fields
	}
	AppOIDCConfigColumnPostLogoutRedirectUris = Column{
												// contains filtered or unexported fields
	}
	AppOIDCConfigColumnDevMode = Column{
								// contains filtered or unexported fields
	}
	AppOIDCConfigColumnAccessTokenType = Column{
										// contains filtered or unexported fields
	}
	AppOIDCConfigColumnAccessTokenRoleAssertion = Column{
												// contains filtered or unexported fields
	}
	AppOIDCConfigColumnIDTokenRoleAssertion = Column{
											// contains filtered or unexported fields
	}
	AppOIDCConfigColumnIDTokenUserinfoAssertion = Column{
												// contains filtered or unexported fields
	}
	AppOIDCConfigColumnClockSkew = Column{
									// contains filtered or unexported fields
	}
	AppOIDCConfigColumnAdditionalOrigins = Column{
											// contains filtered or unexported fields
	}
)
View Source
var (
	AuthNKeyColumnID = Column{
						// contains filtered or unexported fields
	}
	AuthNKeyColumnCreationDate = Column{
								// contains filtered or unexported fields
	}
	AuthNKeyColumnResourceOwner = Column{
								// contains filtered or unexported fields
	}
	AuthNKeyColumnInstanceID = Column{
								// contains filtered or unexported fields
	}
	AuthNKeyColumnAggregateID = Column{
								// contains filtered or unexported fields
	}
	AuthNKeyColumnSequence = Column{
							// contains filtered or unexported fields
	}
	AuthNKeyColumnObjectID = Column{
							// contains filtered or unexported fields
	}
	AuthNKeyColumnExpiration = Column{
								// contains filtered or unexported fields
	}
	AuthNKeyColumnIdentifier = Column{
								// contains filtered or unexported fields
	}
	AuthNKeyColumnPublicKey = Column{
							// contains filtered or unexported fields
	}
	AuthNKeyColumnType = Column{
						// contains filtered or unexported fields
	}
	AuthNKeyColumnEnabled = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	CurrentSequenceColAggregateType = Column{
									// contains filtered or unexported fields
	}
	CurrentSequenceColCurrentSequence = Column{
										// contains filtered or unexported fields
	}
	CurrentSequenceColTimestamp = Column{
								// contains filtered or unexported fields
	}
	CurrentSequenceColProjectionName = Column{
										// contains filtered or unexported fields
	}
	CurrentSequenceColInstanceID = Column{
									// contains filtered or unexported fields
	}
)
View Source
var (
	LocksColLockerID = Column{
						// contains filtered or unexported fields
	}
	LocksColUntil = Column{
					// contains filtered or unexported fields
	}
	LocksColProjectionName = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	CustomTextColAggregateID = Column{
								// contains filtered or unexported fields
	}
	CustomTextColInstanceID = Column{
							// contains filtered or unexported fields
	}
	CustomTextColSequence = Column{
							// contains filtered or unexported fields
	}
	CustomTextColCreationDate = Column{
								// contains filtered or unexported fields
	}
	CustomTextColChangeDate = Column{
							// contains filtered or unexported fields
	}
	CustomTextColTemplate = Column{
							// contains filtered or unexported fields
	}
	CustomTextColLanguage = Column{
							// contains filtered or unexported fields
	}
	CustomTextColKey = Column{
						// contains filtered or unexported fields
	}
	CustomTextColText = Column{
						// contains filtered or unexported fields
	}
)
View Source
var (
	FailedEventsColumnProjectionName = Column{
										// contains filtered or unexported fields
	}
	FailedEventsColumnFailedSequence = Column{
										// contains filtered or unexported fields
	}
	FailedEventsColumnFailureCount = Column{
									// contains filtered or unexported fields
	}
	FailedEventsColumnError = Column{
							// contains filtered or unexported fields
	}
	FailedEventsColumnInstanceID = Column{
									// contains filtered or unexported fields
	}
)
View Source
var (
	InstanceMemberUserID = Column{
							// contains filtered or unexported fields
	}
	InstanceMemberRoles = Column{
						// contains filtered or unexported fields
	}
	InstanceMemberCreationDate = Column{
								// contains filtered or unexported fields
	}
	InstanceMemberChangeDate = Column{
								// contains filtered or unexported fields
	}
	InstanceMemberSequence = Column{
							// contains filtered or unexported fields
	}
	InstanceMemberResourceOwner = Column{
								// contains filtered or unexported fields
	}
	InstanceMemberInstanceID = Column{
								// contains filtered or unexported fields
	}
	InstanceMemberIAMID = Column{
						// contains filtered or unexported fields
	}
)
View Source
var (
	IDPIDCol = Column{
				// contains filtered or unexported fields
	}
	IDPCreationDateCol = Column{
						// contains filtered or unexported fields
	}
	IDPChangeDateCol = Column{
						// contains filtered or unexported fields
	}
	IDPSequenceCol = Column{
					// contains filtered or unexported fields
	}
	IDPResourceOwnerCol = Column{
						// contains filtered or unexported fields
	}
	IDPInstanceIDCol = Column{
						// contains filtered or unexported fields
	}
	IDPStateCol = Column{
				// contains filtered or unexported fields
	}
	IDPNameCol = Column{
				// contains filtered or unexported fields
	}
	IDPStylingTypeCol = Column{
						// contains filtered or unexported fields
	}
	IDPOwnerTypeCol = Column{
					// contains filtered or unexported fields
	}
	IDPAutoRegisterCol = Column{
						// contains filtered or unexported fields
	}
	IDPTypeCol = Column{
				// contains filtered or unexported fields
	}
)
View Source
var (
	OIDCIDPColIDPID = Column{
					// contains filtered or unexported fields
	}
	OIDCIDPColClientID = Column{
						// contains filtered or unexported fields
	}
	OIDCIDPColClientSecret = Column{
							// contains filtered or unexported fields
	}
	OIDCIDPColIssuer = Column{
						// contains filtered or unexported fields
	}
	OIDCIDPColScopes = Column{
						// contains filtered or unexported fields
	}
	OIDCIDPColDisplayNameMapping = Column{
									// contains filtered or unexported fields
	}
	OIDCIDPColUsernameMapping = Column{
								// contains filtered or unexported fields
	}
	OIDCIDPColAuthorizationEndpoint = Column{
									// contains filtered or unexported fields
	}
	OIDCIDPColTokenEndpoint = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	JWTIDPColIDPID = Column{
					// contains filtered or unexported fields
	}
	JWTIDPColIssuer = Column{
					// contains filtered or unexported fields
	}
	JWTIDPColKeysEndpoint = Column{
							// contains filtered or unexported fields
	}
	JWTIDPColHeaderName = Column{
						// contains filtered or unexported fields
	}
	JWTIDPColEndpoint = Column{
						// contains filtered or unexported fields
	}
)
View Source
var (
	IDPLoginPolicyLinkIDPIDCol = Column{
								// contains filtered or unexported fields
	}
	IDPLoginPolicyLinkCreationDateCol = Column{
										// contains filtered or unexported fields
	}
	IDPLoginPolicyLinkChangeDateCol = Column{
									// contains filtered or unexported fields
	}
	IDPLoginPolicyLinkSequenceCol = Column{
									// contains filtered or unexported fields
	}
	IDPLoginPolicyLinkResourceOwnerCol = Column{
										// contains filtered or unexported fields
	}
	IDPLoginPolicyLinkInstanceIDCol = Column{
									// contains filtered or unexported fields
	}
	IDPLoginPolicyLinkProviderTypeCol = Column{
										// contains filtered or unexported fields
	}
)
View Source
var (
	IDPUserLinkIDPIDCol = Column{
						// contains filtered or unexported fields
	}
	IDPUserLinkUserIDCol = Column{
							// contains filtered or unexported fields
	}
	IDPUserLinkExternalUserIDCol = Column{
									// contains filtered or unexported fields
	}
	IDPUserLinkCreationDateCol = Column{
								// contains filtered or unexported fields
	}
	IDPUserLinkChangeDateCol = Column{
								// contains filtered or unexported fields
	}
	IDPUserLinkSequenceCol = Column{
							// contains filtered or unexported fields
	}
	IDPUserLinkResourceOwnerCol = Column{
								// contains filtered or unexported fields
	}
	IDPUserLinkInstanceIDCol = Column{
								// contains filtered or unexported fields
	}
	IDPUserLinkDisplayNameCol = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	InstanceColumnID = Column{
						// contains filtered or unexported fields
	}
	InstanceColumnName = Column{
						// contains filtered or unexported fields
	}
	InstanceColumnCreationDate = Column{
								// contains filtered or unexported fields
	}
	InstanceColumnChangeDate = Column{
								// contains filtered or unexported fields
	}
	InstanceColumnSequence = Column{
							// contains filtered or unexported fields
	}
	InstanceColumnGlobalOrgID = Column{
								// contains filtered or unexported fields
	}
	InstanceColumnProjectID = Column{
							// contains filtered or unexported fields
	}
	InstanceColumnConsoleID = Column{
							// contains filtered or unexported fields
	}
	InstanceColumnConsoleAppID = Column{
								// contains filtered or unexported fields
	}
	InstanceColumnSetupStarted = Column{
								// contains filtered or unexported fields
	}
	InstanceColumnSetupDone = Column{
							// contains filtered or unexported fields
	}
	InstanceColumnDefaultLanguage = Column{
									// contains filtered or unexported fields
	}
)
View Source
var (
	InstanceDomainCreationDateCol = Column{
									// contains filtered or unexported fields
	}
	InstanceDomainChangeDateCol = Column{
								// contains filtered or unexported fields
	}
	InstanceDomainSequenceCol = Column{
								// contains filtered or unexported fields
	}
	InstanceDomainDomainCol = Column{
							// contains filtered or unexported fields
	}
	InstanceDomainInstanceIDCol = Column{
								// contains filtered or unexported fields
	}
	InstanceDomainIsGeneratedCol = Column{
									// contains filtered or unexported fields
	}
	InstanceDomainIsPrimaryCol = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	KeyColID = Column{
				// contains filtered or unexported fields
	}
	KeyColCreationDate = Column{
						// contains filtered or unexported fields
	}
	KeyColChangeDate = Column{
						// contains filtered or unexported fields
	}
	KeyColResourceOwner = Column{
						// contains filtered or unexported fields
	}
	KeyColInstanceID = Column{
						// contains filtered or unexported fields
	}
	KeyColSequence = Column{
					// contains filtered or unexported fields
	}
	KeyColAlgorithm = Column{
					// contains filtered or unexported fields
	}
	KeyColUse = Column{
				// contains filtered or unexported fields
	}
)
View Source
var (
	KeyPrivateColID = Column{
					// contains filtered or unexported fields
	}
	KeyPrivateColExpiry = Column{
						// contains filtered or unexported fields
	}
	KeyPrivateColKey = Column{
						// contains filtered or unexported fields
	}
)
View Source
var (
	KeyPublicColID = Column{
					// contains filtered or unexported fields
	}
	KeyPublicColExpiry = Column{
						// contains filtered or unexported fields
	}
	KeyPublicColKey = Column{
					// contains filtered or unexported fields
	}
)
View Source
var (
	LabelPolicyColCreationDate = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColChangeDate = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColSequence = Column{
							// contains filtered or unexported fields
	}
	LabelPolicyColID = Column{
						// contains filtered or unexported fields
	}
	LabelPolicyColState = Column{
						// contains filtered or unexported fields
	}
	LabelPolicyColIsDefault = Column{
							// contains filtered or unexported fields
	}
	LabelPolicyColResourceOwner = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColInstanceID = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColHideLoginNameSuffix = Column{
										// contains filtered or unexported fields
	}
	LabelPolicyColFontURL = Column{
							// contains filtered or unexported fields
	}
	LabelPolicyColWatermarkDisabled = Column{
									// contains filtered or unexported fields
	}
	LabelPolicyColShouldErrorPopup = Column{
									// contains filtered or unexported fields
	}
	LabelPolicyColLightPrimaryColor = Column{
									// contains filtered or unexported fields
	}
	LabelPolicyColLightWarnColor = Column{
									// contains filtered or unexported fields
	}
	LabelPolicyColLightBackgroundColor = Column{
										// contains filtered or unexported fields
	}
	LabelPolicyColLightFontColor = Column{
									// contains filtered or unexported fields
	}
	LabelPolicyColLightLogoURL = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColLightIconURL = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColDarkPrimaryColor = Column{
									// contains filtered or unexported fields
	}
	LabelPolicyColDarkWarnColor = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColDarkBackgroundColor = Column{
										// contains filtered or unexported fields
	}
	LabelPolicyColDarkFontColor = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColDarkLogoURL = Column{
								// contains filtered or unexported fields
	}
	LabelPolicyColDarkIconURL = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	LockoutColID = Column{
					// contains filtered or unexported fields
	}
	LockoutColInstanceID = Column{
							// contains filtered or unexported fields
	}
	LockoutColSequence = Column{
						// contains filtered or unexported fields
	}
	LockoutColCreationDate = Column{
							// contains filtered or unexported fields
	}
	LockoutColChangeDate = Column{
							// contains filtered or unexported fields
	}
	LockoutColResourceOwner = Column{
							// contains filtered or unexported fields
	}
	LockoutColShowFailures = Column{
							// contains filtered or unexported fields
	}
	LockoutColMaxPasswordAttempts = Column{
									// contains filtered or unexported fields
	}
	LockoutColIsDefault = Column{
						// contains filtered or unexported fields
	}
	LockoutColState = Column{
					// contains filtered or unexported fields
	}
)
View Source
var (
	LoginNameUserIDCol = Column{
						// contains filtered or unexported fields
	}
	LoginNameNameCol = Column{
						// contains filtered or unexported fields
	}
	LoginNameIsPrimaryCol = Column{
							// contains filtered or unexported fields
	}
	LoginNameInstanceIDCol = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	LoginPolicyColumnOrgID = Column{
							// contains filtered or unexported fields
	}
	LoginPolicyColumnInstanceID = Column{
								// contains filtered or unexported fields
	}
	LoginPolicyColumnCreationDate = Column{
									// contains filtered or unexported fields
	}
	LoginPolicyColumnChangeDate = Column{
								// contains filtered or unexported fields
	}
	LoginPolicyColumnSequence = Column{
								// contains filtered or unexported fields
	}
	LoginPolicyColumnAllowRegister = Column{
									// contains filtered or unexported fields
	}
	LoginPolicyColumnAllowUsernamePassword = Column{
											// contains filtered or unexported fields
	}
	LoginPolicyColumnAllowExternalIDPs = Column{
										// contains filtered or unexported fields
	}
	LoginPolicyColumnForceMFA = Column{
								// contains filtered or unexported fields
	}
	LoginPolicyColumnSecondFactors = Column{
									// contains filtered or unexported fields
	}
	LoginPolicyColumnMultiFactors = Column{
									// contains filtered or unexported fields
	}
	LoginPolicyColumnPasswordlessType = Column{
										// contains filtered or unexported fields
	}
	LoginPolicyColumnIsDefault = Column{
								// contains filtered or unexported fields
	}
	LoginPolicyColumnHidePasswordReset = Column{
										// contains filtered or unexported fields
	}
	LoginPolicyColumnPasswordCheckLifetime = Column{
											// contains filtered or unexported fields
	}
	LoginPolicyColumnExternalLoginCheckLifetime = Column{
												// contains filtered or unexported fields
	}
	LoginPolicyColumnMFAInitSkipLifetime = Column{
											// contains filtered or unexported fields
	}
	LoginPolicyColumnSecondFactorCheckLifetime = Column{
												// contains filtered or unexported fields
	}
	LoginPolicyColumnMultiFacotrCheckLifetime = Column{
												// contains filtered or unexported fields
	}
)
View Source
var (
	MailTemplateColAggregateID = Column{
								// contains filtered or unexported fields
	}
	MailTemplateColInstanceID = Column{
								// contains filtered or unexported fields
	}
	MailTemplateColSequence = Column{
							// contains filtered or unexported fields
	}
	MailTemplateColCreationDate = Column{
								// contains filtered or unexported fields
	}
	MailTemplateColChangeDate = Column{
								// contains filtered or unexported fields
	}
	MailTemplateColTemplate = Column{
							// contains filtered or unexported fields
	}
	MailTemplateColIsDefault = Column{
								// contains filtered or unexported fields
	}
	MailTemplateColState = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	MessageTextColAggregateID = Column{
								// contains filtered or unexported fields
	}
	MessageTextColInstanceID = Column{
								// contains filtered or unexported fields
	}
	MessageTextColSequence = Column{
							// contains filtered or unexported fields
	}
	MessageTextColCreationDate = Column{
								// contains filtered or unexported fields
	}
	MessageTextColChangeDate = Column{
								// contains filtered or unexported fields
	}
	MessageTextColState = Column{
						// contains filtered or unexported fields
	}
	MessageTextColType = Column{
						// contains filtered or unexported fields
	}
	MessageTextColLanguage = Column{
							// contains filtered or unexported fields
	}
	MessageTextColTitle = Column{
						// contains filtered or unexported fields
	}
	MessageTextColPreHeader = Column{
							// contains filtered or unexported fields
	}
	MessageTextColSubject = Column{
							// contains filtered or unexported fields
	}
	MessageTextColGreeting = Column{
							// contains filtered or unexported fields
	}
	MessageTextColText = Column{
						// contains filtered or unexported fields
	}
	MessageTextColButtonText = Column{
								// contains filtered or unexported fields
	}
	MessageTextColFooter = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	NotificationProviderColumnAggID = Column{
									// contains filtered or unexported fields
	}
	NotificationProviderColumnCreationDate = Column{
											// contains filtered or unexported fields
	}
	NotificationProviderColumnChangeDate = Column{
											// contains filtered or unexported fields
	}
	NotificationProviderColumnSequence = Column{
										// contains filtered or unexported fields
	}
	NotificationProviderColumnResourceOwner = Column{
											// contains filtered or unexported fields
	}
	NotificationProviderColumnInstanceID = Column{
											// contains filtered or unexported fields
	}
	NotificationProviderColumnState = Column{
									// contains filtered or unexported fields
	}
	NotificationProviderColumnType = Column{
									// contains filtered or unexported fields
	}
	NotificationProviderColumnCompact = Column{
										// contains filtered or unexported fields
	}
)
View Source
var (
	OIDCSettingsColumnAggregateID = Column{
									// contains filtered or unexported fields
	}
	OIDCSettingsColumnCreationDate = Column{
									// contains filtered or unexported fields
	}
	OIDCSettingsColumnChangeDate = Column{
									// contains filtered or unexported fields
	}
	OIDCSettingsColumnResourceOwner = Column{
									// contains filtered or unexported fields
	}
	OIDCSettingsColumnInstanceID = Column{
									// contains filtered or unexported fields
	}
	OIDCSettingsColumnSequence = Column{
								// contains filtered or unexported fields
	}
	OIDCSettingsColumnAccessTokenLifetime = Column{
											// contains filtered or unexported fields
	}
	OIDCSettingsColumnIdTokenLifetime = Column{
										// contains filtered or unexported fields
	}
	OIDCSettingsColumnRefreshTokenIdleExpiration = Column{
													// contains filtered or unexported fields
	}
	OIDCSettingsColumnRefreshTokenExpiration = Column{
												// contains filtered or unexported fields
	}
)
View Source
var (
	OrgColumnID = Column{
				// contains filtered or unexported fields
	}
	OrgColumnCreationDate = Column{
							// contains filtered or unexported fields
	}
	OrgColumnChangeDate = Column{
						// contains filtered or unexported fields
	}
	OrgColumnResourceOwner = Column{
							// contains filtered or unexported fields
	}
	OrgColumnInstanceID = Column{
						// contains filtered or unexported fields
	}
	OrgColumnState = Column{
					// contains filtered or unexported fields
	}
	OrgColumnSequence = Column{
						// contains filtered or unexported fields
	}
	OrgColumnName = Column{
					// contains filtered or unexported fields
	}
	OrgColumnDomain = Column{
					// contains filtered or unexported fields
	}
)
View Source
var (
	OrgDomainCreationDateCol = Column{
								// contains filtered or unexported fields
	}
	OrgDomainChangeDateCol = Column{
							// contains filtered or unexported fields
	}
	OrgDomainSequenceCol = Column{
							// contains filtered or unexported fields
	}
	OrgDomainDomainCol = Column{
						// contains filtered or unexported fields
	}
	OrgDomainOrgIDCol = Column{
						// contains filtered or unexported fields
	}
	OrgDomainInstanceIDCol = Column{
							// contains filtered or unexported fields
	}
	OrgDomainIsVerifiedCol = Column{
							// contains filtered or unexported fields
	}
	OrgDomainIsPrimaryCol = Column{
							// contains filtered or unexported fields
	}
	OrgDomainValidationTypeCol = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	DomainPolicyColID = Column{
						// contains filtered or unexported fields
	}
	DomainPolicyColSequence = Column{
							// contains filtered or unexported fields
	}
	DomainPolicyColCreationDate = Column{
								// contains filtered or unexported fields
	}
	DomainPolicyColChangeDate = Column{
								// contains filtered or unexported fields
	}
	DomainPolicyColResourceOwner = Column{
									// contains filtered or unexported fields
	}
	DomainPolicyColInstanceID = Column{
								// contains filtered or unexported fields
	}
	DomainPolicyColUserLoginMustBeDomain = Column{
											// contains filtered or unexported fields
	}
	DomainPolicyColValidateOrgDomains = Column{
										// contains filtered or unexported fields
	}
	DomainPolicyColIsDefault = Column{
								// contains filtered or unexported fields
	}
	DomainPolicyColState = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	OrgMemberUserID = Column{
					// contains filtered or unexported fields
	}
	OrgMemberRoles = Column{
					// contains filtered or unexported fields
	}
	OrgMemberCreationDate = Column{
							// contains filtered or unexported fields
	}
	OrgMemberChangeDate = Column{
						// contains filtered or unexported fields
	}
	OrgMemberSequence = Column{
						// contains filtered or unexported fields
	}
	OrgMemberResourceOwner = Column{
							// contains filtered or unexported fields
	}
	OrgMemberInstanceID = Column{
						// contains filtered or unexported fields
	}
	OrgMemberOrgID = Column{
					// contains filtered or unexported fields
	}
)
View Source
var (
	PasswordAgeColID = Column{
						// contains filtered or unexported fields
	}
	PasswordAgeColSequence = Column{
							// contains filtered or unexported fields
	}
	PasswordAgeColCreationDate = Column{
								// contains filtered or unexported fields
	}
	PasswordAgeColChangeDate = Column{
								// contains filtered or unexported fields
	}
	PasswordAgeColResourceOwner = Column{
								// contains filtered or unexported fields
	}
	PasswordAgeColInstanceID = Column{
								// contains filtered or unexported fields
	}
	PasswordAgeColWarnDays = Column{
							// contains filtered or unexported fields
	}
	PasswordAgeColMaxAge = Column{
							// contains filtered or unexported fields
	}
	PasswordAgeColIsDefault = Column{
							// contains filtered or unexported fields
	}
	PasswordAgeColState = Column{
						// contains filtered or unexported fields
	}
)
View Source
var (
	PasswordComplexityColID = Column{
							// contains filtered or unexported fields
	}
	PasswordComplexityColSequence = Column{
									// contains filtered or unexported fields
	}
	PasswordComplexityColCreationDate = Column{
										// contains filtered or unexported fields
	}
	PasswordComplexityColChangeDate = Column{
									// contains filtered or unexported fields
	}
	PasswordComplexityColResourceOwner = Column{
										// contains filtered or unexported fields
	}
	PasswordComplexityColInstanceID = Column{
									// contains filtered or unexported fields
	}
	PasswordComplexityColMinLength = Column{
									// contains filtered or unexported fields
	}
	PasswordComplexityColHasLowercase = Column{
										// contains filtered or unexported fields
	}
	PasswordComplexityColHasUpperCase = Column{
										// contains filtered or unexported fields
	}
	PasswordComplexityColHasNumber = Column{
									// contains filtered or unexported fields
	}
	PasswordComplexityColHasSymbol = Column{
									// contains filtered or unexported fields
	}
	PasswordComplexityColIsDefault = Column{
									// contains filtered or unexported fields
	}
	PasswordComplexityColState = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	PrivacyColID = Column{
					// contains filtered or unexported fields
	}
	PrivacyColSequence = Column{
						// contains filtered or unexported fields
	}
	PrivacyColCreationDate = Column{
							// contains filtered or unexported fields
	}
	PrivacyColChangeDate = Column{
							// contains filtered or unexported fields
	}
	PrivacyColResourceOwner = Column{
							// contains filtered or unexported fields
	}
	PrivacyColInstanceID = Column{
							// contains filtered or unexported fields
	}
	PrivacyColPrivacyLink = Column{
							// contains filtered or unexported fields
	}
	PrivacyColTOSLink = Column{
						// contains filtered or unexported fields
	}
	PrivacyColHelpLink = Column{
						// contains filtered or unexported fields
	}
	PrivacyColIsDefault = Column{
						// contains filtered or unexported fields
	}
	PrivacyColState = Column{
					// contains filtered or unexported fields
	}
)
View Source
var (
	ProjectColumnID = Column{
					// contains filtered or unexported fields
	}
	ProjectColumnName = Column{
						// contains filtered or unexported fields
	}
	ProjectColumnProjectRoleAssertion = Column{
										// contains filtered or unexported fields
	}
	ProjectColumnProjectRoleCheck = Column{
									// contains filtered or unexported fields
	}
	ProjectColumnHasProjectCheck = Column{
									// contains filtered or unexported fields
	}
	ProjectColumnPrivateLabelingSetting = Column{
										// contains filtered or unexported fields
	}
	ProjectColumnCreationDate = Column{
								// contains filtered or unexported fields
	}
	ProjectColumnChangeDate = Column{
							// contains filtered or unexported fields
	}
	ProjectColumnResourceOwner = Column{
								// contains filtered or unexported fields
	}
	ProjectColumnInstanceID = Column{
							// contains filtered or unexported fields
	}
	ProjectColumnCreator = Column{
							// contains filtered or unexported fields
	}
	ProjectColumnSequence = Column{
							// contains filtered or unexported fields
	}
	ProjectColumnState = Column{
						// contains filtered or unexported fields
	}
)
View Source
var (
	ProjectGrantColumnCreationDate = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantColumnChangeDate = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantColumnResourceOwner = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantColumnInstanceID = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantColumnState = Column{
							// contains filtered or unexported fields
	}
	ProjectGrantColumnSequence = Column{
								// contains filtered or unexported fields
	}
	ProjectGrantColumnProjectID = Column{
								// contains filtered or unexported fields
	}
	ProjectGrantColumnGrantedOrgID = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantColumnGrantID = Column{
								// contains filtered or unexported fields
	}
	ProjectGrantColumnGrantedRoleKeys = Column{
										// contains filtered or unexported fields
	}
	ProjectGrantColumnCreator = Column{
								// contains filtered or unexported fields
	}
	ProjectGrantColumnGrantedOrgName = Column{
										// contains filtered or unexported fields
	}
	ProjectGrantColumnResourceOwnerName = Column{
										// contains filtered or unexported fields
	}
)
View Source
var (
	ProjectGrantMemberUserID = Column{
								// contains filtered or unexported fields
	}
	ProjectGrantMemberRoles = Column{
							// contains filtered or unexported fields
	}
	ProjectGrantMemberCreationDate = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantMemberChangeDate = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantMemberSequence = Column{
								// contains filtered or unexported fields
	}
	ProjectGrantMemberResourceOwner = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantMemberInstanceID = Column{
									// contains filtered or unexported fields
	}
	ProjectGrantMemberProjectID = Column{
								// contains filtered or unexported fields
	}
	ProjectGrantMemberGrantID = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	ProjectMemberUserID = Column{
						// contains filtered or unexported fields
	}
	ProjectMemberRoles = Column{
						// contains filtered or unexported fields
	}
	ProjectMemberCreationDate = Column{
								// contains filtered or unexported fields
	}
	ProjectMemberChangeDate = Column{
							// contains filtered or unexported fields
	}
	ProjectMemberSequence = Column{
							// contains filtered or unexported fields
	}
	ProjectMemberResourceOwner = Column{
								// contains filtered or unexported fields
	}
	ProjectMemberInstanceID = Column{
							// contains filtered or unexported fields
	}
	ProjectMemberProjectID = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	ProjectRoleColumnCreationDate = Column{
									// contains filtered or unexported fields
	}
	ProjectRoleColumnChangeDate = Column{
								// contains filtered or unexported fields
	}
	ProjectRoleColumnResourceOwner = Column{
									// contains filtered or unexported fields
	}
	ProjectRoleColumnInstanceID = Column{
								// contains filtered or unexported fields
	}
	ProjectRoleColumnSequence = Column{
								// contains filtered or unexported fields
	}
	ProjectRoleColumnProjectID = Column{
								// contains filtered or unexported fields
	}
	ProjectRoleColumnKey = Column{
							// contains filtered or unexported fields
	}
	ProjectRoleColumnDisplayName = Column{
									// contains filtered or unexported fields
	}
	ProjectRoleColumnGroupName = Column{
								// contains filtered or unexported fields
	}
	ProjectRoleColumnCreator = Column{
								// contains filtered or unexported fields
	}
)
View Source
var (
	ErrInvalidCompare = errors.New("invalid compare")
	ErrMissingColumn  = errors.New("missing column")
	ErrInvalidNumber  = errors.New("value is no number")
)
View Source
var (
	SecretGeneratorColumnAggregateID = Column{
										// contains filtered or unexported fields
	}
	SecretGeneratorColumnInstanceID = Column{
									// contains filtered or unexported fields
	}
	SecretGeneratorColumnGeneratorType = Column{
										// contains filtered or unexported fields
	}
	SecretGeneratorColumnCreationDate = Column{
										// contains filtered or unexported fields
	}
	SecretGeneratorColumnChangeDate = Column{
									// contains filtered or unexported fields
	}
	SecretGeneratorColumnResourceOwner = Column{
										// contains filtered or unexported fields
	}
	SecretGeneratorColumnSequence = Column{
									// contains filtered or unexported fields
	}
	SecretGeneratorColumnLength = Column{
								// contains filtered or unexported fields
	}
	SecretGeneratorColumnExpiry = Column{
								// contains filtered or unexported fields
	}
	SecretGeneratorColumnIncludeLowerLetters = Column{
												// contains filtered or unexported fields
	}
	SecretGeneratorColumnIncludeUpperLetters = Column{
												// contains filtered or unexported fields
	}
	SecretGeneratorColumnIncludeDigits = Column{
										// contains filtered or unexported fields
	}
	SecretGeneratorColumnIncludeSymbols = Column{
										// contains filtered or unexported fields
	}
)
View Source
var (
	SMSConfigColumnID = Column{
						// contains filtered or unexported fields
	}
	SMSConfigColumnAggregateID = Column{
								// contains filtered or unexported fields
	}
	SMSConfigColumnCreationDate = Column{
								// contains filtered or unexported fields
	}
	SMSConfigColumnChangeDate = Column{
								// contains filtered or unexported fields
	}
	SMSConfigColumnResourceOwner = Column{
									// contains filtered or unexported fields
	}
	SMSConfigColumnInstanceID = Column{
								// contains filtered or unexported fields
	}
	SMSConfigColumnState = Column{
							// contains filtered or unexported fields
	}
	SMSConfigColumnSequence = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	SMSTwilioConfigColumnSMSID = Column{
								// contains filtered or unexported fields
	}
	SMSTwilioConfigColumnSID = Column{
								// contains filtered or unexported fields
	}
	SMSTwilioConfigColumnToken = Column{
								// contains filtered or unexported fields
	}
	SMSTwilioConfigColumnSenderNumber = Column{
										// contains filtered or unexported fields
	}
)
View Source
var (
	SMTPConfigColumnAggregateID = Column{
								// contains filtered or unexported fields
	}
	SMTPConfigColumnCreationDate = Column{
									// contains filtered or unexported fields
	}
	SMTPConfigColumnChangeDate = Column{
								// contains filtered or unexported fields
	}
	SMTPConfigColumnResourceOwner = Column{
									// contains filtered or unexported fields
	}
	SMTPConfigColumnInstanceID = Column{
								// contains filtered or unexported fields
	}
	SMTPConfigColumnSequence = Column{
								// contains filtered or unexported fields
	}
	SMTPConfigColumnTLS = Column{
						// contains filtered or unexported fields
	}
	SMTPConfigColumnSenderAddress = Column{
									// contains filtered or unexported fields
	}
	SMTPConfigColumnSenderName = Column{
								// contains filtered or unexported fields
	}
	SMTPConfigColumnSMTPHost = Column{
								// contains filtered or unexported fields
	}
	SMTPConfigColumnSMTPUser = Column{
								// contains filtered or unexported fields
	}
	SMTPConfigColumnSMTPPassword = Column{
									// contains filtered or unexported fields
	}
)
View Source
var (
	UserIDCol = Column{
				// contains filtered or unexported fields
	}
	UserCreationDateCol = Column{
						// contains filtered or unexported fields
	}
	UserChangeDateCol = Column{
						// contains filtered or unexported fields
	}
	UserResourceOwnerCol = Column{
							// contains filtered or unexported fields
	}
	UserInstanceIDCol = Column{
						// contains filtered or unexported fields
	}
	UserStateCol = Column{
					// contains filtered or unexported fields
	}
	UserSequenceCol = Column{
					// contains filtered or unexported fields
	}
	UserUsernameCol = Column{
					// contains filtered or unexported fields
	}
	UserTypeCol = Column{
				// contains filtered or unexported fields
	}
)
View Source
var (

	// profile
	HumanUserIDCol = Column{
					// contains filtered or unexported fields
	}
	HumanFirstNameCol = Column{
						// contains filtered or unexported fields
	}
	HumanLastNameCol = Column{
						// contains filtered or unexported fields
	}
	HumanNickNameCol = Column{
						// contains filtered or unexported fields
	}
	HumanDisplayNameCol = Column{
						// contains filtered or unexported fields
	}
	HumanPreferredLanguageCol = Column{
								// contains filtered or unexported fields
	}
	HumanGenderCol = Column{
					// contains filtered or unexported fields
	}
	HumanAvatarURLCol = Column{
						// contains filtered or unexported fields
	}

	// email
	HumanEmailCol = Column{
					// contains filtered or unexported fields
	}
	HumanIsEmailVerifiedCol = Column{
							// contains filtered or unexported fields
	}

	// phone
	HumanPhoneCol = Column{
					// contains filtered or unexported fields
	}
	HumanIsPhoneVerifiedCol = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	MachineUserIDCol = Column{
						// contains filtered or unexported fields
	}
	MachineNameCol = Column{
					// contains filtered or unexported fields
	}
	MachineDescriptionCol = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	UserAuthMethodColumnTokenID = Column{
								// contains filtered or unexported fields
	}
	UserAuthMethodColumnCreationDate = Column{
										// contains filtered or unexported fields
	}
	UserAuthMethodColumnChangeDate = Column{
									// contains filtered or unexported fields
	}
	UserAuthMethodColumnResourceOwner = Column{
										// contains filtered or unexported fields
	}
	UserAuthMethodColumnInstanceID = Column{
									// contains filtered or unexported fields
	}
	UserAuthMethodColumnUserID = Column{
								// contains filtered or unexported fields
	}
	UserAuthMethodColumnSequence = Column{
									// contains filtered or unexported fields
	}
	UserAuthMethodColumnName = Column{
								// contains filtered or unexported fields
	}
	UserAuthMethodColumnState = Column{
								// contains filtered or unexported fields
	}
	UserAuthMethodColumnMethodType = Column{
									// contains filtered or unexported fields
	}
)
View Source
var (
	UserGrantID = Column{
				// contains filtered or unexported fields
	}
	UserGrantResourceOwner = Column{
							// contains filtered or unexported fields
	}
	UserGrantInstanceID = Column{
						// contains filtered or unexported fields
	}
	UserGrantCreationDate = Column{
							// contains filtered or unexported fields
	}
	UserGrantChangeDate = Column{
						// contains filtered or unexported fields
	}
	UserGrantSequence = Column{
						// contains filtered or unexported fields
	}
	UserGrantUserID = Column{
					// contains filtered or unexported fields
	}
	UserGrantProjectID = Column{
						// contains filtered or unexported fields
	}
	UserGrantGrantID = Column{
						// contains filtered or unexported fields
	}
	UserGrantRoles = Column{
					// contains filtered or unexported fields
	}
	UserGrantState = Column{
					// contains filtered or unexported fields
	}
)
View Source
var (
	UserMetadataUserIDCol = Column{
							// contains filtered or unexported fields
	}
	UserMetadataCreationDateCol = Column{
								// contains filtered or unexported fields
	}
	UserMetadataChangeDateCol = Column{
								// contains filtered or unexported fields
	}
	UserMetadataResourceOwnerCol = Column{
									// contains filtered or unexported fields
	}
	UserMetadataInstanceIDCol = Column{
								// contains filtered or unexported fields
	}
	UserMetadataSequenceCol = Column{
							// contains filtered or unexported fields
	}
	UserMetadataKeyCol = Column{
						// contains filtered or unexported fields
	}
	UserMetadataValueCol = Column{
							// contains filtered or unexported fields
	}
)
View Source
var (
	PersonalAccessTokenColumnID = Column{
								// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnUserID = Column{
									// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnExpiration = Column{
										// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnScopes = Column{
									// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnCreationDate = Column{
											// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnChangeDate = Column{
										// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnResourceOwner = Column{
											// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnInstanceID = Column{
										// contains filtered or unexported fields
	}
	PersonalAccessTokenColumnSequence = Column{
										// contains filtered or unexported fields
	}
)

Functions

func CustomTextToDomain

func CustomTextToDomain(text *CustomText) *domain.CustomText

func CustomTextsToDomain

func CustomTextsToDomain(texts *CustomTexts) []*domain.CustomText

func CustomTextsToLoginDomain

func CustomTextsToLoginDomain(instanceID, aggregateID, lang string, texts *CustomTexts) *domain.CustomLoginText

Types

type APIApp

type APIApp struct {
	ClientID       string
	AuthMethodType domain.APIAuthMethodType
}

type Action

type Action struct {
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.ActionState
	Sequence      uint64

	Name          string
	Script        string
	Timeout       time.Duration
	AllowedToFail bool
}

type ActionSearchQueries

type ActionSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type Actions

type Actions struct {
	SearchResponse
	Actions []*Action
}

type App

type App struct {
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.AppState
	Sequence      uint64

	ProjectID string
	Name      string

	OIDCConfig *OIDCApp
	APIConfig  *APIApp
}

type AppSearchQueries

type AppSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type Apps

type Apps struct {
	SearchResponse
	Apps []*App
}

type AuthMethod

type AuthMethod struct {
	UserID        string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.MFAState
	Sequence      uint64

	TokenID string
	Name    string
	Type    domain.UserAuthMethodType
}

type AuthMethods

type AuthMethods struct {
	SearchResponse
	AuthMethods []*AuthMethod
}

type AuthNKey

type AuthNKey struct {
	ID            string
	CreationDate  time.Time
	ResourceOwner string
	Sequence      uint64

	Expiration time.Time
	Type       domain.AuthNKeyType
}

type AuthNKeySearchQueries

type AuthNKeySearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type AuthNKeys

type AuthNKeys struct {
	SearchResponse
	AuthNKeys []*AuthNKey
}

type BoolQuery

type BoolQuery struct {
	Column Column
	Value  bool
}

func NewBoolQuery

func NewBoolQuery(c Column, value bool) (*BoolQuery, error)

type Change

type Change struct {
	ChangeDate            time.Time
	EventType             string
	Sequence              uint64
	ResourceOwner         string
	ModifierId            string
	ModifierName          string
	ModifierLoginName     string
	ModifierResourceOwner string
	ModifierAvatarKey     string
}

type Changes

type Changes struct {
	Changes []*Change
}

type Column

type Column struct {
	// contains filtered or unexported fields
}

type CurrentSequence

type CurrentSequence struct {
	ProjectionName  string
	CurrentSequence uint64
	Timestamp       time.Time
}

type CurrentSequences

type CurrentSequences struct {
	SearchResponse
	CurrentSequences []*CurrentSequence
}

type CurrentSequencesSearchQueries

type CurrentSequencesSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type CustomText

type CustomText struct {
	AggregateID  string
	Sequence     uint64
	CreationDate time.Time
	ChangeDate   time.Time

	Template string
	Language language.Tag
	Key      string
	Text     string
}

type CustomTexts

type CustomTexts struct {
	SearchResponse
	CustomTexts []*CustomText
}

type DebugNotificationProvider

type DebugNotificationProvider struct {
	AggregateID   string
	CreationDate  time.Time
	ChangeDate    time.Time
	Sequence      uint64
	ResourceOwner string
	State         domain.NotificationProviderState
	Type          domain.NotificationProviderType
	Compact       bool
}

type Domain

type Domain struct {
	CreationDate   time.Time
	ChangeDate     time.Time
	Sequence       uint64
	Domain         string
	OrgID          string
	IsVerified     bool
	IsPrimary      bool
	ValidationType domain.OrgDomainValidationType
}

type DomainPolicy

type DomainPolicy struct {
	ID            string
	Sequence      uint64
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.PolicyState

	UserLoginMustBeDomain bool
	ValidateOrgDomains    bool

	IsDefault bool
}

type Domains

type Domains struct {
	SearchResponse
	Domains []*Domain
}

type Email

type Email struct {
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64
	Email         string
	IsVerified    bool
}

type FailedEvent

type FailedEvent struct {
	ProjectionName string
	FailedSequence uint64
	FailureCount   uint64
	Error          string
}

type FailedEventSearchQueries

type FailedEventSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type FailedEvents

type FailedEvents struct {
	SearchResponse
	FailedEvents []*FailedEvent
}

type Flow

type Flow struct {
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64
	Type          domain.FlowType

	TriggerActions map[domain.TriggerType][]*Action
}

type Human

type Human struct {
	FirstName         string
	LastName          string
	NickName          string
	DisplayName       string
	AvatarKey         string
	PreferredLanguage language.Tag
	Gender            domain.Gender
	Email             string
	IsEmailVerified   bool
	Phone             string
	IsPhoneVerified   bool
}

type IAMMembersQuery

type IAMMembersQuery struct {
	MembersQuery
}

type IAMMembership

type IAMMembership struct {
	IAMID string
	Name  string
}

type IDP

type IDP struct {
	CreationDate  time.Time
	ChangeDate    time.Time
	Sequence      uint64
	ResourceOwner string
	ID            string
	State         domain.IDPConfigState
	Name          string
	StylingType   domain.IDPConfigStylingType
	OwnerType     domain.IdentityProviderType
	AutoRegister  bool
	*OIDCIDP
	*JWTIDP
}
type IDPLoginPolicyLink struct {
	IDPID   string
	IDPName string
	IDPType domain.IDPConfigType
}
type IDPLoginPolicyLinks struct {
	SearchResponse
	Links []*IDPLoginPolicyLink
}

type IDPLoginPolicyLinksSearchQuery

type IDPLoginPolicyLinksSearchQuery struct {
	SearchRequest
	Queries []SearchQuery
}

type IDPSearchQueries

type IDPSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}
type IDPUserLink struct {
	IDPID            string
	UserID           string
	IDPName          string
	ProvidedUserID   string
	ProvidedUsername string
	ResourceOwner    string
	IDPType          domain.IDPConfigType
}
type IDPUserLinks struct {
	SearchResponse
	Links []*IDPUserLink
}

type IDPUserLinksSearchQuery

type IDPUserLinksSearchQuery struct {
	SearchRequest
	Queries []SearchQuery
}

type IDPs

type IDPs struct {
	SearchResponse
	IDPs []*IDP
}

type Instance

type Instance struct {
	ID           string
	ChangeDate   time.Time
	CreationDate time.Time
	Sequence     uint64
	Name         string

	GlobalOrgID  string
	IAMProjectID string
	ConsoleID    string
	ConsoleAppID string
	DefaultLang  language.Tag
	SetupStarted domain.Step
	SetupDone    domain.Step
	Domains      []*InstanceDomain
	// contains filtered or unexported fields
}

func (*Instance) ConsoleApplicationID

func (i *Instance) ConsoleApplicationID() string

func (*Instance) ConsoleClientID

func (i *Instance) ConsoleClientID() string

func (*Instance) DefaultLanguage

func (i *Instance) DefaultLanguage() language.Tag

func (*Instance) InstanceID

func (i *Instance) InstanceID() string

func (*Instance) ProjectID

func (i *Instance) ProjectID() string

func (*Instance) RequestedDomain

func (i *Instance) RequestedDomain() string

func (*Instance) RequestedHost

func (i *Instance) RequestedHost() string

type InstanceDomain

type InstanceDomain struct {
	CreationDate time.Time
	ChangeDate   time.Time
	Sequence     uint64
	Domain       string
	InstanceID   string
	IsGenerated  bool
	IsPrimary    bool
}

type InstanceDomainSearchQueries

type InstanceDomainSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type InstanceDomains

type InstanceDomains struct {
	SearchResponse
	Domains []*InstanceDomain
}

type InstanceSearchQueries

type InstanceSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type Instances

type Instances struct {
	SearchResponse
	Instances []*Instance
}

type JWTIDP

type JWTIDP struct {
	IDPID        string
	Issuer       string
	KeysEndpoint string
	HeaderName   string
	Endpoint     string
}

type Key

type Key interface {
	ID() string
	Algorithm() string
	Use() domain.KeyUsage
	Sequence() uint64
}

type LabelPolicy

type LabelPolicy struct {
	ID                  string
	CreationDate        time.Time
	ChangeDate          time.Time
	Sequence            uint64
	State               domain.LabelPolicyState
	IsDefault           bool
	ResourceOwner       string
	HideLoginNameSuffix bool
	FontURL             string
	WatermarkDisabled   bool
	ShouldErrorPopup    bool

	Dark  Theme
	Light Theme
}

type LatestSequence

type LatestSequence struct {
	Sequence  uint64
	Timestamp time.Time
}

type ListComparison

type ListComparison int
const (
	ListIn ListComparison = iota
)

func ListComparisonFromMethod

func ListComparisonFromMethod(m domain.SearchMethod) ListComparison

type ListQuery

type ListQuery struct {
	Column  Column
	List    []interface{}
	Compare ListComparison
}

func NewListQuery

func NewListQuery(column Column, value []interface{}, compare ListComparison) (*ListQuery, error)

type LockoutPolicy

type LockoutPolicy struct {
	ID            string
	Sequence      uint64
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.PolicyState

	MaxPasswordAttempts uint64
	ShowFailures        bool

	IsDefault bool
}

type LoginPolicy

type LoginPolicy struct {
	OrgID                      string
	CreationDate               time.Time
	ChangeDate                 time.Time
	Sequence                   uint64
	AllowRegister              bool
	AllowUsernamePassword      bool
	AllowExternalIDPs          bool
	ForceMFA                   bool
	SecondFactors              []domain.SecondFactorType
	MultiFactors               []domain.MultiFactorType
	PasswordlessType           domain.PasswordlessType
	IsDefault                  bool
	HidePasswordReset          bool
	PasswordCheckLifetime      time.Duration
	ExternalLoginCheckLifetime time.Duration
	MFAInitSkipLifetime        time.Duration
	SecondFactorCheckLifetime  time.Duration
	MultiFactorCheckLifetime   time.Duration
}

type Machine

type Machine struct {
	Name        string
	Description string
}

type MailTemplate

type MailTemplate struct {
	AggregateID  string
	Sequence     uint64
	CreationDate time.Time
	ChangeDate   time.Time
	State        domain.PolicyState

	Template  []byte
	IsDefault bool
}

type Member

type Member struct {
	CreationDate  time.Time
	ChangeDate    time.Time
	Sequence      uint64
	ResourceOwner string

	UserID             string
	Roles              []string
	PreferredLoginName string
	Email              string
	FirstName          string
	LastName           string
	DisplayName        string
	AvatarURL          string
}

type Members

type Members struct {
	SearchResponse
	Members []*Member
}

type MembersQuery

type MembersQuery struct {
	SearchRequest
	Queries []SearchQuery
}

type Membership

type Membership struct {
	UserID        string
	Roles         []string
	CreationDate  time.Time
	ChangeDate    time.Time
	Sequence      uint64
	ResourceOwner string

	Org          *OrgMembership
	IAM          *IAMMembership
	Project      *ProjectMembership
	ProjectGrant *ProjectGrantMembership
}

type MembershipSearchQuery

type MembershipSearchQuery struct {
	SearchRequest
	Queries []SearchQuery
}

type Memberships

type Memberships struct {
	SearchResponse
	Memberships []*Membership
}

type MessageText

type MessageText struct {
	AggregateID  string
	Sequence     uint64
	CreationDate time.Time
	ChangeDate   time.Time
	State        domain.PolicyState

	IsDefault bool

	Type       string
	Language   language.Tag
	Title      string
	PreHeader  string
	Subject    string
	Greeting   string
	Text       string
	ButtonText string
	Footer     string
}

type MessageTexts

type MessageTexts struct {
	InitCode                 MessageText
	PasswordReset            MessageText
	VerifyEmail              MessageText
	VerifyPhone              MessageText
	DomainClaimed            MessageText
	PasswordlessRegistration MessageText
}

func (*MessageTexts) GetMessageTextByType

func (m *MessageTexts) GetMessageTextByType(msgType string) *MessageText

type MultiFactors

type MultiFactors struct {
	SearchResponse
	Factors []domain.MultiFactorType
}

type NotNullQuery

type NotNullQuery struct {
	Column Column
}

func NewNotNullQuery

func NewNotNullQuery(col Column) (*NotNullQuery, error)

type NumberComparison

type NumberComparison int
const (
	NumberEquals NumberComparison = iota
	NumberNotEquals
	NumberLess
	NumberGreater
	NumberListContains
)

func NumberComparisonFromMethod deprecated

func NumberComparisonFromMethod(m domain.SearchMethod) NumberComparison

Deprecated: Use NumberComparison, will be removed as soon as all calls are changed to query

type NumberQuery

type NumberQuery struct {
	Column  Column
	Number  interface{}
	Compare NumberComparison
}

func NewNumberQuery

func NewNumberQuery(c Column, value interface{}, compare NumberComparison) (*NumberQuery, error)

type OIDCApp

type OIDCApp struct {
	RedirectURIs           []string
	ResponseTypes          []domain.OIDCResponseType
	GrantTypes             []domain.OIDCGrantType
	AppType                domain.OIDCApplicationType
	ClientID               string
	AuthMethodType         domain.OIDCAuthMethodType
	PostLogoutRedirectURIs []string
	Version                domain.OIDCVersion
	ComplianceProblems     []string
	IsDevMode              bool
	AccessTokenType        domain.OIDCTokenType
	AssertAccessTokenRole  bool
	AssertIDTokenRole      bool
	AssertIDTokenUserinfo  bool
	ClockSkew              time.Duration
	AdditionalOrigins      []string
	AllowedOrigins         []string
}

type OIDCIDP

type OIDCIDP struct {
	IDPID                 string
	ClientID              string
	ClientSecret          *crypto.CryptoValue
	Issuer                string
	Scopes                []string
	DisplayNameMapping    domain.OIDCMappingField
	UsernameMapping       domain.OIDCMappingField
	AuthorizationEndpoint string
	TokenEndpoint         string
}

type OIDCSettings

type OIDCSettings struct {
	AggregateID   string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64

	AccessTokenLifetime        time.Duration
	IdTokenLifetime            time.Duration
	RefreshTokenIdleExpiration time.Duration
	RefreshTokenExpiration     time.Duration
}

type Org

type Org struct {
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.OrgState
	Sequence      uint64

	Name   string
	Domain string
}

type OrgDomainSearchQueries

type OrgDomainSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type OrgMembersQuery

type OrgMembersQuery struct {
	MembersQuery
	OrgID string
}

type OrgMembership

type OrgMembership struct {
	OrgID string
	Name  string
}

type OrgSearchQueries

type OrgSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type Orgs

type Orgs struct {
	SearchResponse
	Orgs []*Org
}

type PasswordAgePolicy

type PasswordAgePolicy struct {
	ID            string
	Sequence      uint64
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.PolicyState

	ExpireWarnDays uint64
	MaxAgeDays     uint64

	IsDefault bool
}

type PasswordComplexityPolicy

type PasswordComplexityPolicy struct {
	ID            string
	Sequence      uint64
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.PolicyState

	MinLength    uint64
	HasLowercase bool
	HasUppercase bool
	HasNumber    bool
	HasSymbol    bool

	IsDefault bool
}

type PersonalAccessToken

type PersonalAccessToken struct {
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64

	UserID     string
	Expiration time.Time
	Scopes     []string
}

type PersonalAccessTokenSearchQueries

type PersonalAccessTokenSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

func (*PersonalAccessTokenSearchQueries) AppendMyResourceOwnerQuery

func (r *PersonalAccessTokenSearchQueries) AppendMyResourceOwnerQuery(orgID string) error

type PersonalAccessTokens

type PersonalAccessTokens struct {
	SearchResponse
	PersonalAccessTokens []*PersonalAccessToken
}

type Phone

type Phone struct {
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64
	Phone         string
	IsVerified    bool
}

type PrivacyPolicy

type PrivacyPolicy struct {
	ID            string
	Sequence      uint64
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.PolicyState

	TOSLink     string
	PrivacyLink string
	HelpLink    string

	IsDefault bool
}

func (*PrivacyPolicy) ToDomain

func (p *PrivacyPolicy) ToDomain() *domain.PrivacyPolicy

type PrivateKey

type PrivateKey interface {
	Key
	Expiry() time.Time
	Key() *crypto.CryptoValue
}

type PrivateKeys

type PrivateKeys struct {
	SearchResponse
	Keys []PrivateKey
}

type Profile

type Profile struct {
	ID                string
	CreationDate      time.Time
	ChangeDate        time.Time
	ResourceOwner     string
	Sequence          uint64
	FirstName         string
	LastName          string
	NickName          string
	DisplayName       string
	AvatarKey         string
	PreferredLanguage language.Tag
	Gender            domain.Gender
}

type Project

type Project struct {
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.ProjectState
	Sequence      uint64

	Name                   string
	ProjectRoleAssertion   bool
	ProjectRoleCheck       bool
	HasProjectCheck        bool
	PrivateLabelingSetting domain.PrivateLabelingSetting
}

type ProjectGrant

type ProjectGrant struct {
	ProjectID     string
	GrantID       string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.ProjectGrantState
	Sequence      uint64

	ProjectName       string
	GrantedOrgID      string
	OrgName           string
	GrantedRoleKeys   pq.StringArray
	ResourceOwnerName string
}

type ProjectGrantMembersQuery

type ProjectGrantMembersQuery struct {
	MembersQuery
	ProjectID, GrantID, OrgID string
}

type ProjectGrantMembership

type ProjectGrantMembership struct {
	ProjectID   string
	ProjectName string
	GrantID     string
}

type ProjectGrantSearchQueries

type ProjectGrantSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

func (*ProjectGrantSearchQueries) AppendGrantedOrgQuery

func (q *ProjectGrantSearchQueries) AppendGrantedOrgQuery(orgID string) error

func (*ProjectGrantSearchQueries) AppendMyResourceOwnerQuery

func (q *ProjectGrantSearchQueries) AppendMyResourceOwnerQuery(orgID string) error

func (*ProjectGrantSearchQueries) AppendPermissionQueries

func (q *ProjectGrantSearchQueries) AppendPermissionQueries(permissions []string) error

type ProjectGrants

type ProjectGrants struct {
	SearchResponse
	ProjectGrants []*ProjectGrant
}

type ProjectMembersQuery

type ProjectMembersQuery struct {
	MembersQuery
	ProjectID string
}

type ProjectMembership

type ProjectMembership struct {
	ProjectID string
	Name      string
}

type ProjectRole

type ProjectRole struct {
	ProjectID     string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64

	Key         string
	DisplayName string
	Group       string
}

type ProjectRoleSearchQueries

type ProjectRoleSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

func (*ProjectRoleSearchQueries) AppendMyResourceOwnerQuery

func (r *ProjectRoleSearchQueries) AppendMyResourceOwnerQuery(orgID string) error

func (*ProjectRoleSearchQueries) AppendProjectIDQuery

func (r *ProjectRoleSearchQueries) AppendProjectIDQuery(projectID string) error

func (*ProjectRoleSearchQueries) AppendRoleKeysQuery

func (r *ProjectRoleSearchQueries) AppendRoleKeysQuery(keys []string) error

type ProjectRoles

type ProjectRoles struct {
	SearchResponse
	ProjectRoles []*ProjectRole
}

type ProjectSearchQueries

type ProjectSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

func (*ProjectSearchQueries) AppendMyResourceOwnerQuery

func (r *ProjectSearchQueries) AppendMyResourceOwnerQuery(orgID string) error

func (*ProjectSearchQueries) AppendPermissionQueries

func (r *ProjectSearchQueries) AppendPermissionQueries(permissions []string) error

func (*ProjectSearchQueries) AppendProjectionNameQuery

func (r *ProjectSearchQueries) AppendProjectionNameQuery(projectionName string) error

type Projects

type Projects struct {
	SearchResponse
	Projects []*Project
}

type PublicKey

type PublicKey interface {
	Key
	Expiry() time.Time
	Key() interface{}
}

type PublicKeys

type PublicKeys struct {
	SearchResponse
	Keys []PublicKey
}

type Queries

type Queries struct {
	DefaultLanguage language.Tag
	LoginDir        http.FileSystem
	NotificationDir http.FileSystem

	LoginTranslationFileContents        map[string][]byte
	NotificationTranslationFileContents map[string][]byte
	// contains filtered or unexported fields
}

func StartQueries

func StartQueries(ctx context.Context, es *eventstore.Eventstore, sqlClient *sql.DB, projections projection.Config, keyEncryptionAlgorithm crypto.EncryptionAlgorithm, zitadelRoles []authz.RoleMapping) (repo *Queries, err error)

func (*Queries) ActiveLabelPolicyByOrg

func (q *Queries) ActiveLabelPolicyByOrg(ctx context.Context, orgID string) (*LabelPolicy, error)

func (*Queries) ActivePrivateSigningKey

func (q *Queries) ActivePrivateSigningKey(ctx context.Context, t time.Time) (*PrivateKeys, error)

func (*Queries) ActivePublicKeys

func (q *Queries) ActivePublicKeys(ctx context.Context, t time.Time) (*PublicKeys, error)

func (*Queries) AppByClientID

func (q *Queries) AppByClientID(ctx context.Context, clientID string) (*App, error)

func (*Queries) AppByID

func (q *Queries) AppByID(ctx context.Context, appID string) (*App, error)

func (*Queries) AppByOIDCClientID

func (q *Queries) AppByOIDCClientID(ctx context.Context, clientID string) (*App, error)

func (*Queries) AppByProjectAndAppID

func (q *Queries) AppByProjectAndAppID(ctx context.Context, projectID, appID string) (*App, error)

func (*Queries) ApplicationChanges

func (q *Queries) ApplicationChanges(ctx context.Context, projectID, appID string, lastSequence uint64, limit uint64, sortAscending bool, auditLogRetention time.Duration) (*Changes, error)

func (*Queries) ClearCurrentSequence

func (q *Queries) ClearCurrentSequence(ctx context.Context, projectionName string) (err error)

func (*Queries) CustomMessageTextByTypeAndLanguage

func (q *Queries) CustomMessageTextByTypeAndLanguage(ctx context.Context, aggregateID, messageType, language string) (*MessageText, error)

func (*Queries) CustomTextList

func (q *Queries) CustomTextList(ctx context.Context, aggregateID, template, language string) (texts *CustomTexts, err error)

func (*Queries) CustomTextListByTemplate

func (q *Queries) CustomTextListByTemplate(ctx context.Context, aggregateID, template string) (texts *CustomTexts, err error)

func (*Queries) DefaultActiveLabelPolicy

func (q *Queries) DefaultActiveLabelPolicy(ctx context.Context) (*LabelPolicy, error)

func (*Queries) DefaultDomainPolicy

func (q *Queries) DefaultDomainPolicy(ctx context.Context) (*DomainPolicy, error)

func (*Queries) DefaultLockoutPolicy

func (q *Queries) DefaultLockoutPolicy(ctx context.Context) (*LockoutPolicy, error)

func (*Queries) DefaultLoginPolicy

func (q *Queries) DefaultLoginPolicy(ctx context.Context) (*LoginPolicy, error)

func (*Queries) DefaultMailTemplate

func (q *Queries) DefaultMailTemplate(ctx context.Context) (*MailTemplate, error)

func (*Queries) DefaultMessageText

func (q *Queries) DefaultMessageText(ctx context.Context) (*MessageText, error)

func (*Queries) DefaultMessageTextByTypeAndLanguageFromFileSystem

func (q *Queries) DefaultMessageTextByTypeAndLanguageFromFileSystem(ctx context.Context, messageType, language string) (*MessageText, error)

func (*Queries) DefaultMultiFactors

func (q *Queries) DefaultMultiFactors(ctx context.Context) (*MultiFactors, error)

func (*Queries) DefaultPasswordAgePolicy

func (q *Queries) DefaultPasswordAgePolicy(ctx context.Context) (*PasswordAgePolicy, error)

func (*Queries) DefaultPasswordComplexityPolicy

func (q *Queries) DefaultPasswordComplexityPolicy(ctx context.Context) (*PasswordComplexityPolicy, error)

func (*Queries) DefaultPreviewLabelPolicy

func (q *Queries) DefaultPreviewLabelPolicy(ctx context.Context) (*LabelPolicy, error)

func (*Queries) DefaultPrivacyPolicy

func (q *Queries) DefaultPrivacyPolicy(ctx context.Context) (*PrivacyPolicy, error)

func (*Queries) DefaultSecondFactors

func (q *Queries) DefaultSecondFactors(ctx context.Context) (*SecondFactors, error)

func (*Queries) DomainPolicyByOrg

func (q *Queries) DomainPolicyByOrg(ctx context.Context, orgID string) (*DomainPolicy, error)

func (*Queries) ExistsOrg

func (q *Queries) ExistsOrg(ctx context.Context, id string) (err error)

func (*Queries) ExistsProject

func (q *Queries) ExistsProject(ctx context.Context, id string) (err error)

func (*Queries) ExistsProjectGrant

func (q *Queries) ExistsProjectGrant(ctx context.Context, id string) (err error)

func (*Queries) ExistsProjectRole

func (q *Queries) ExistsProjectRole(ctx context.Context, projectID, key string) (err error)

func (*Queries) GetActionByID

func (q *Queries) GetActionByID(ctx context.Context, id string, orgID string) (*Action, error)

func (*Queries) GetActiveActionsByFlowAndTriggerType

func (q *Queries) GetActiveActionsByFlowAndTriggerType(ctx context.Context, flowType domain.FlowType, triggerType domain.TriggerType, orgID string) ([]*Action, error)

func (*Queries) GetAuthNKeyByID

func (q *Queries) GetAuthNKeyByID(ctx context.Context, id string, queries ...SearchQuery) (*AuthNKey, error)

func (*Queries) GetAuthNKeyPublicKeyByIDAndIdentifier

func (q *Queries) GetAuthNKeyPublicKeyByIDAndIdentifier(ctx context.Context, id string, identifier string) ([]byte, error)

func (*Queries) GetCustomLoginTexts

func (q *Queries) GetCustomLoginTexts(ctx context.Context, aggregateID, lang string) (*domain.CustomLoginText, error)

func (*Queries) GetDefaultLanguage

func (q *Queries) GetDefaultLanguage(ctx context.Context) language.Tag

func (*Queries) GetDefaultLoginTexts

func (q *Queries) GetDefaultLoginTexts(ctx context.Context, lang string) (*domain.CustomLoginText, error)

func (*Queries) GetFlow

func (q *Queries) GetFlow(ctx context.Context, flowType domain.FlowType, orgID string) (*Flow, error)

func (*Queries) GetFlowTypesOfActionID

func (q *Queries) GetFlowTypesOfActionID(ctx context.Context, actionID string) ([]domain.FlowType, error)

func (*Queries) GetHumanEmail

func (q *Queries) GetHumanEmail(ctx context.Context, userID string, queries ...SearchQuery) (*Email, error)

func (*Queries) GetHumanPhone

func (q *Queries) GetHumanPhone(ctx context.Context, userID string, queries ...SearchQuery) (*Phone, error)

func (*Queries) GetHumanProfile

func (q *Queries) GetHumanProfile(ctx context.Context, userID string, queries ...SearchQuery) (*Profile, error)

func (*Queries) GetIAMMemberRoles

func (q *Queries) GetIAMMemberRoles() []string

func (*Queries) GetOrgMemberRoles

func (q *Queries) GetOrgMemberRoles(isGlobal bool) []string

func (*Queries) GetProjectGrantMemberRoles

func (q *Queries) GetProjectGrantMemberRoles() []string

func (*Queries) GetProjectMemberRoles

func (q *Queries) GetProjectMemberRoles(ctx context.Context) ([]string, error)

func (*Queries) GetUser

func (q *Queries) GetUser(ctx context.Context, queries ...SearchQuery) (*User, error)

func (*Queries) GetUserByID

func (q *Queries) GetUserByID(ctx context.Context, userID string, queries ...SearchQuery) (*User, error)

func (*Queries) GetUserMetadataByKey

func (q *Queries) GetUserMetadataByKey(ctx context.Context, userID, key string, queries ...SearchQuery) (*UserMetadata, error)

func (*Queries) IAMLoginTexts

func (q *Queries) IAMLoginTexts(ctx context.Context, lang string) (*domain.CustomLoginText, error)

func (*Queries) IAMMembers

func (q *Queries) IAMMembers(ctx context.Context, queries *IAMMembersQuery) (*Members, error)

func (*Queries) IAMMessageTextByTypeAndLanguage

func (q *Queries) IAMMessageTextByTypeAndLanguage(ctx context.Context, messageType, language string) (*MessageText, error)

func (*Queries) IDPByIDAndResourceOwner

func (q *Queries) IDPByIDAndResourceOwner(ctx context.Context, id, resourceOwner string) (*IDP, error)

IDPByIDAndResourceOwner searches for the requested id in the context of the resource owner and IAM

func (q *Queries) IDPLoginPolicyLinks(ctx context.Context, resourceOwner string, queries *IDPLoginPolicyLinksSearchQuery) (idps *IDPLoginPolicyLinks, err error)
func (q *Queries) IDPUserLinks(ctx context.Context, queries *IDPUserLinksSearchQuery) (idps *IDPUserLinks, err error)

func (*Queries) IDPs

func (q *Queries) IDPs(ctx context.Context, queries *IDPSearchQueries) (idps *IDPs, err error)

IDPs searches idps matching the query

func (*Queries) InitEncryptionGenerator

func (q *Queries) InitEncryptionGenerator(ctx context.Context, generatorType domain.SecretGeneratorType, algorithm crypto.EncryptionAlgorithm) (crypto.Generator, error)

func (*Queries) InitHashGenerator

func (q *Queries) InitHashGenerator(ctx context.Context, generatorType domain.SecretGeneratorType, algorithm crypto.HashAlgorithm) (crypto.Generator, error)

func (*Queries) Instance

func (q *Queries) Instance(ctx context.Context) (*Instance, error)

func (*Queries) InstanceByHost

func (q *Queries) InstanceByHost(ctx context.Context, host string) (authz.Instance, error)

func (*Queries) IsOrgUnique

func (q *Queries) IsOrgUnique(ctx context.Context, name, domain string) (isUnique bool, err error)

func (*Queries) IsUserUnique

func (q *Queries) IsUserUnique(ctx context.Context, username, email, resourceOwner string) (bool, error)

func (*Queries) Languages

func (q *Queries) Languages(ctx context.Context) ([]language.Tag, error)

func (*Queries) LockoutPolicyByOrg

func (q *Queries) LockoutPolicyByOrg(ctx context.Context, orgID string) (*LockoutPolicy, error)

func (*Queries) LoginPolicyByID

func (q *Queries) LoginPolicyByID(ctx context.Context, orgID string) (*LoginPolicy, error)

func (*Queries) MailTemplateByOrg

func (q *Queries) MailTemplateByOrg(ctx context.Context, orgID string) (*MailTemplate, error)

func (*Queries) Memberships

func (q *Queries) Memberships(ctx context.Context, queries *MembershipSearchQuery) (*Memberships, error)

func (*Queries) MessageTextByOrg

func (q *Queries) MessageTextByOrg(ctx context.Context, orgID string) (*MessageText, error)

func (*Queries) MultiFactorsByOrg

func (q *Queries) MultiFactorsByOrg(ctx context.Context, orgID string) (*MultiFactors, error)

func (*Queries) MyZitadelPermissions

func (q *Queries) MyZitadelPermissions(ctx context.Context, orgID, userID string) (*domain.Permissions, error)

func (*Queries) NotificationProviderByIDAndType

func (q *Queries) NotificationProviderByIDAndType(ctx context.Context, aggID string, providerType domain.NotificationProviderType) (*DebugNotificationProvider, error)

func (*Queries) OIDCSettingsByAggID

func (q *Queries) OIDCSettingsByAggID(ctx context.Context, aggregateID string) (*OIDCSettings, error)

func (*Queries) OrgByDomainGlobal

func (q *Queries) OrgByDomainGlobal(ctx context.Context, domain string) (*Org, error)

func (*Queries) OrgByID

func (q *Queries) OrgByID(ctx context.Context, id string) (*Org, error)

func (*Queries) OrgChanges

func (q *Queries) OrgChanges(ctx context.Context, orgID string, lastSequence uint64, limit uint64, sortAscending bool, auditLogRetention time.Duration) (*Changes, error)

func (*Queries) OrgMembers

func (q *Queries) OrgMembers(ctx context.Context, queries *OrgMembersQuery) (*Members, error)

func (*Queries) PasswordAgePolicyByOrg

func (q *Queries) PasswordAgePolicyByOrg(ctx context.Context, orgID string) (*PasswordAgePolicy, error)

func (*Queries) PasswordComplexityPolicyByOrg

func (q *Queries) PasswordComplexityPolicyByOrg(ctx context.Context, orgID string) (*PasswordComplexityPolicy, error)

func (*Queries) PersonalAccessTokenByID

func (q *Queries) PersonalAccessTokenByID(ctx context.Context, id string, queries ...SearchQuery) (*PersonalAccessToken, error)

func (*Queries) PreviewLabelPolicyByOrg

func (q *Queries) PreviewLabelPolicyByOrg(ctx context.Context, orgID string) (*LabelPolicy, error)

func (*Queries) PrivacyPolicyByOrg

func (q *Queries) PrivacyPolicyByOrg(ctx context.Context, orgID string) (*PrivacyPolicy, error)

func (*Queries) ProjectByID

func (q *Queries) ProjectByID(ctx context.Context, id string) (*Project, error)

func (*Queries) ProjectByOIDCClientID

func (q *Queries) ProjectByOIDCClientID(ctx context.Context, id string) (*Project, error)

func (*Queries) ProjectChanges

func (q *Queries) ProjectChanges(ctx context.Context, projectID string, lastSequence uint64, limit uint64, sortAscending bool, auditLogRetention time.Duration) (*Changes, error)

func (*Queries) ProjectGrantByID

func (q *Queries) ProjectGrantByID(ctx context.Context, id string) (*ProjectGrant, error)

func (*Queries) ProjectGrantByIDAndGrantedOrg

func (q *Queries) ProjectGrantByIDAndGrantedOrg(ctx context.Context, id, grantedOrg string) (*ProjectGrant, error)

func (*Queries) ProjectGrantMembers

func (q *Queries) ProjectGrantMembers(ctx context.Context, queries *ProjectGrantMembersQuery) (*Members, error)

func (*Queries) ProjectIDFromClientID

func (q *Queries) ProjectIDFromClientID(ctx context.Context, appID string) (string, error)

func (*Queries) ProjectIDFromOIDCClientID

func (q *Queries) ProjectIDFromOIDCClientID(ctx context.Context, appID string) (string, error)

func (*Queries) ProjectMembers

func (q *Queries) ProjectMembers(ctx context.Context, queries *ProjectMembersQuery) (*Members, error)

func (*Queries) ProjectRoleByID

func (q *Queries) ProjectRoleByID(ctx context.Context, projectID, key string) (*ProjectRole, error)

func (*Queries) RemoveFailedEvent

func (q *Queries) RemoveFailedEvent(ctx context.Context, projectionName string, sequence uint64) (err error)

func (*Queries) SMSProviderConfigByID

func (q *Queries) SMSProviderConfigByID(ctx context.Context, id string) (*SMSConfig, error)

func (*Queries) SMTPConfigByAggregateID

func (q *Queries) SMTPConfigByAggregateID(ctx context.Context, aggregateID string) (*SMTPConfig, error)

func (*Queries) SearchActions

func (q *Queries) SearchActions(ctx context.Context, queries *ActionSearchQueries) (actions *Actions, err error)

func (*Queries) SearchApps

func (q *Queries) SearchApps(ctx context.Context, queries *AppSearchQueries) (*Apps, error)

func (*Queries) SearchAuthNKeys

func (q *Queries) SearchAuthNKeys(ctx context.Context, queries *AuthNKeySearchQueries) (authNKeys *AuthNKeys, err error)

func (*Queries) SearchClientIDs

func (q *Queries) SearchClientIDs(ctx context.Context, queries *AppSearchQueries) ([]string, error)

func (*Queries) SearchCurrentSequences

func (q *Queries) SearchCurrentSequences(ctx context.Context, queries *CurrentSequencesSearchQueries) (failedEvents *CurrentSequences, err error)

func (*Queries) SearchFailedEvents

func (q *Queries) SearchFailedEvents(ctx context.Context, queries *FailedEventSearchQueries) (failedEvents *FailedEvents, err error)

func (*Queries) SearchGrantedProjectRoles

func (q *Queries) SearchGrantedProjectRoles(ctx context.Context, grantID, grantedOrg string, queries *ProjectRoleSearchQueries) (projects *ProjectRoles, err error)

func (*Queries) SearchInstanceDomains

func (q *Queries) SearchInstanceDomains(ctx context.Context, queries *InstanceDomainSearchQueries) (domains *InstanceDomains, err error)

func (*Queries) SearchInstances

func (q *Queries) SearchInstances(ctx context.Context, queries *InstanceSearchQueries) (instances *Instances, err error)

func (*Queries) SearchOrgDomains

func (q *Queries) SearchOrgDomains(ctx context.Context, queries *OrgDomainSearchQueries) (domains *Domains, err error)

func (*Queries) SearchOrgs

func (q *Queries) SearchOrgs(ctx context.Context, queries *OrgSearchQueries) (orgs *Orgs, err error)

func (*Queries) SearchPersonalAccessTokens

func (q *Queries) SearchPersonalAccessTokens(ctx context.Context, queries *PersonalAccessTokenSearchQueries) (personalAccessTokens *PersonalAccessTokens, err error)

func (*Queries) SearchProjectGrants

func (q *Queries) SearchProjectGrants(ctx context.Context, queries *ProjectGrantSearchQueries) (projects *ProjectGrants, err error)

func (*Queries) SearchProjectGrantsByProjectIDAndRoleKey

func (q *Queries) SearchProjectGrantsByProjectIDAndRoleKey(ctx context.Context, projectID, roleKey string) (projects *ProjectGrants, err error)

func (*Queries) SearchProjectRoles

func (q *Queries) SearchProjectRoles(ctx context.Context, queries *ProjectRoleSearchQueries) (projects *ProjectRoles, err error)

func (*Queries) SearchProjects

func (q *Queries) SearchProjects(ctx context.Context, queries *ProjectSearchQueries) (projects *Projects, err error)

func (*Queries) SearchSMSConfigs

func (q *Queries) SearchSMSConfigs(ctx context.Context, queries *SMSConfigsSearchQueries) (*SMSConfigs, error)

func (*Queries) SearchSecretGenerators

func (q *Queries) SearchSecretGenerators(ctx context.Context, queries *SecretGeneratorSearchQueries) (secretGenerators *SecretGenerators, err error)

func (*Queries) SearchUserAuthMethods

func (q *Queries) SearchUserAuthMethods(ctx context.Context, queries *UserAuthMethodSearchQueries) (userAuthMethods *AuthMethods, err error)

func (*Queries) SearchUserMetadata

func (q *Queries) SearchUserMetadata(ctx context.Context, userID string, queries *UserMetadataSearchQueries) (*UserMetadataList, error)

func (*Queries) SearchUsers

func (q *Queries) SearchUsers(ctx context.Context, queries *UserSearchQueries) (*Users, error)

func (*Queries) SecondFactorsByOrg

func (q *Queries) SecondFactorsByOrg(ctx context.Context, orgID string) (*SecondFactors, error)

func (*Queries) SecretGeneratorByType

func (q *Queries) SecretGeneratorByType(ctx context.Context, generatorType domain.SecretGeneratorType) (*SecretGenerator, error)

func (*Queries) UserAuthMethodByIDs

func (q *Queries) UserAuthMethodByIDs(ctx context.Context, userID, tokenID, resourceOwner string, methodType domain.UserAuthMethodType) (*AuthMethod, error)

func (*Queries) UserChanges

func (q *Queries) UserChanges(ctx context.Context, userID string, lastSequence uint64, limit uint64, sortAscending bool, auditLogRetention time.Duration) (*Changes, error)

func (*Queries) UserGrant

func (q *Queries) UserGrant(ctx context.Context, queries ...SearchQuery) (*UserGrant, error)

func (*Queries) UserGrants

func (q *Queries) UserGrants(ctx context.Context, queries *UserGrantsQueries) (*UserGrants, error)

type SMSConfig

type SMSConfig struct {
	AggregateID   string
	ID            string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	State         domain.SMSConfigState
	Sequence      uint64

	TwilioConfig *Twilio
}

type SMSConfigs

type SMSConfigs struct {
	SearchResponse
	Configs []*SMSConfig
}

type SMSConfigsSearchQueries

type SMSConfigsSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type SMTPConfig

type SMTPConfig struct {
	AggregateID   string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64

	TLS           bool
	SenderAddress string
	SenderName    string
	Host          string
	User          string
	Password      *crypto.CryptoValue
}

type SMTPConfigs

type SMTPConfigs struct {
	SearchResponse
	SMTPConfigs []*SMTPConfig
}

type SearchQuery

type SearchQuery interface {
	// contains filtered or unexported methods
}

func NewActionNameSearchQuery

func NewActionNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewActionResourceOwnerQuery

func NewActionResourceOwnerQuery(id string) (SearchQuery, error)

func NewActionStateSearchQuery

func NewActionStateSearchQuery(value domain.ActionState) (SearchQuery, error)

func NewAppNameSearchQuery

func NewAppNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewAppProjectIDSearchQuery

func NewAppProjectIDSearchQuery(id string) (SearchQuery, error)

func NewAuthNKeyAggregateIDQuery

func NewAuthNKeyAggregateIDQuery(id string) (SearchQuery, error)

func NewAuthNKeyObjectIDQuery

func NewAuthNKeyObjectIDQuery(id string) (SearchQuery, error)

func NewAuthNKeyResourceOwnerQuery

func NewAuthNKeyResourceOwnerQuery(id string) (SearchQuery, error)

func NewFailedEventProjectionNameSearchQuery

func NewFailedEventProjectionNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewIDPIDSearchQuery

func NewIDPIDSearchQuery(id string) (SearchQuery, error)

func NewIDPNameSearchQuery

func NewIDPNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewIDPOwnerTypeSearchQuery

func NewIDPOwnerTypeSearchQuery(ownerType domain.IdentityProviderType) (SearchQuery, error)

func NewIDPResourceOwnerListSearchQuery

func NewIDPResourceOwnerListSearchQuery(ids ...string) (SearchQuery, error)

func NewIDPResourceOwnerSearchQuery

func NewIDPResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewIDPUserLinkIDPIDSearchQuery

func NewIDPUserLinkIDPIDSearchQuery(value string) (SearchQuery, error)

func NewIDPUserLinksResourceOwnerSearchQuery

func NewIDPUserLinksResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewIDPUserLinksUserIDSearchQuery

func NewIDPUserLinksUserIDSearchQuery(value string) (SearchQuery, error)

func NewInstanceDomainDomainSearchQuery

func NewInstanceDomainDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewInstanceDomainGeneratedSearchQuery

func NewInstanceDomainGeneratedSearchQuery(generated bool) (SearchQuery, error)

func NewInstanceDomainInstanceIDSearchQuery

func NewInstanceDomainInstanceIDSearchQuery(value string) (SearchQuery, error)

func NewInstanceDomainPrimarySearchQuery

func NewInstanceDomainPrimarySearchQuery(primary bool) (SearchQuery, error)

func NewInstanceIDsListSearchQuery

func NewInstanceIDsListSearchQuery(ids ...string) (SearchQuery, error)

func NewMemberEmailSearchQuery

func NewMemberEmailSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewMemberFirstNameSearchQuery

func NewMemberFirstNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewMemberLastNameSearchQuery

func NewMemberLastNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewMemberResourceOwnerSearchQuery

func NewMemberResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewMemberUserIDSearchQuery

func NewMemberUserIDSearchQuery(value string) (SearchQuery, error)

func NewMembershipIsIAMQuery

func NewMembershipIsIAMQuery() (SearchQuery, error)

func NewMembershipOrgIDQuery

func NewMembershipOrgIDQuery(value string) (SearchQuery, error)

func NewMembershipProjectGrantIDQuery

func NewMembershipProjectGrantIDQuery(value string) (SearchQuery, error)

func NewMembershipProjectIDQuery

func NewMembershipProjectIDQuery(value string) (SearchQuery, error)

func NewMembershipResourceOwnerQuery

func NewMembershipResourceOwnerQuery(value string) (SearchQuery, error)

func NewMembershipResourceOwnersSearchQuery

func NewMembershipResourceOwnersSearchQuery(ids ...string) (SearchQuery, error)

func NewMembershipUserIDQuery

func NewMembershipUserIDQuery(userID string) (SearchQuery, error)

func NewOrgDomainDomainSearchQuery

func NewOrgDomainDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewOrgDomainOrgIDSearchQuery

func NewOrgDomainOrgIDSearchQuery(value string) (SearchQuery, error)

func NewOrgDomainSearchQuery

func NewOrgDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewOrgDomainVerifiedSearchQuery

func NewOrgDomainVerifiedSearchQuery(verified bool) (SearchQuery, error)

func NewOrgIDsSearchQuery

func NewOrgIDsSearchQuery(ids ...string) (SearchQuery, error)

func NewOrgNameSearchQuery

func NewOrgNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewPersonalAccessTokenResourceOwnerSearchQuery

func NewPersonalAccessTokenResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewPersonalAccessTokenUserIDSearchQuery

func NewPersonalAccessTokenUserIDSearchQuery(value string) (SearchQuery, error)

func NewProjectGrantGrantedOrgIDSearchQuery

func NewProjectGrantGrantedOrgIDSearchQuery(value string) (SearchQuery, error)

func NewProjectGrantIDsSearchQuery

func NewProjectGrantIDsSearchQuery(values []string) (SearchQuery, error)

func NewProjectGrantProjectIDSearchQuery

func NewProjectGrantProjectIDSearchQuery(value string) (SearchQuery, error)

func NewProjectGrantProjectNameSearchQuery

func NewProjectGrantProjectNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewProjectGrantResourceOwnerSearchQuery

func NewProjectGrantResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewProjectGrantRoleKeySearchQuery

func NewProjectGrantRoleKeySearchQuery(value string) (SearchQuery, error)

func NewProjectIDSearchQuery

func NewProjectIDSearchQuery(ids []string) (SearchQuery, error)

func NewProjectNameSearchQuery

func NewProjectNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewProjectResourceOwnerSearchQuery

func NewProjectResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewProjectRoleDisplayNameSearchQuery

func NewProjectRoleDisplayNameSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewProjectRoleGroupSearchQuery

func NewProjectRoleGroupSearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewProjectRoleKeySearchQuery

func NewProjectRoleKeySearchQuery(method TextComparison, value string) (SearchQuery, error)

func NewProjectRoleKeysSearchQuery

func NewProjectRoleKeysSearchQuery(values []string) (SearchQuery, error)

func NewProjectRoleProjectIDSearchQuery

func NewProjectRoleProjectIDSearchQuery(value string) (SearchQuery, error)

func NewProjectRoleResourceOwnerSearchQuery

func NewProjectRoleResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewSecretGeneratorTypeSearchQuery

func NewSecretGeneratorTypeSearchQuery(value int32) (SearchQuery, error)

func NewUserAuthMethodResourceOwnerSearchQuery

func NewUserAuthMethodResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewUserAuthMethodStateSearchQuery

func NewUserAuthMethodStateSearchQuery(value domain.MFAState) (SearchQuery, error)

func NewUserAuthMethodTokenIDSearchQuery

func NewUserAuthMethodTokenIDSearchQuery(value string) (SearchQuery, error)

func NewUserAuthMethodTypeSearchQuery

func NewUserAuthMethodTypeSearchQuery(value domain.UserAuthMethodType) (SearchQuery, error)

func NewUserAuthMethodTypesSearchQuery

func NewUserAuthMethodTypesSearchQuery(values ...domain.UserAuthMethodType) (SearchQuery, error)

func NewUserAuthMethodUserIDSearchQuery

func NewUserAuthMethodUserIDSearchQuery(value string) (SearchQuery, error)

func NewUserDisplayNameSearchQuery

func NewUserDisplayNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserEmailSearchQuery

func NewUserEmailSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserFirstNameSearchQuery

func NewUserFirstNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserGrantContainsRolesSearchQuery

func NewUserGrantContainsRolesSearchQuery(roles ...string) (SearchQuery, error)

func NewUserGrantDisplayNameQuery

func NewUserGrantDisplayNameQuery(displayName string, method TextComparison) (SearchQuery, error)

func NewUserGrantDomainQuery

func NewUserGrantDomainQuery(value string, method TextComparison) (SearchQuery, error)

func NewUserGrantEmailQuery

func NewUserGrantEmailQuery(email string, method TextComparison) (SearchQuery, error)

func NewUserGrantFirstNameQuery

func NewUserGrantFirstNameQuery(value string, method TextComparison) (SearchQuery, error)

func NewUserGrantGrantIDSearchQuery

func NewUserGrantGrantIDSearchQuery(id string) (SearchQuery, error)

func NewUserGrantLastNameQuery

func NewUserGrantLastNameQuery(value string, method TextComparison) (SearchQuery, error)

func NewUserGrantOrgNameQuery

func NewUserGrantOrgNameQuery(value string, method TextComparison) (SearchQuery, error)

func NewUserGrantProjectIDSearchQuery

func NewUserGrantProjectIDSearchQuery(id string) (SearchQuery, error)

func NewUserGrantProjectNameQuery

func NewUserGrantProjectNameQuery(value string, method TextComparison) (SearchQuery, error)

func NewUserGrantProjectOwnerSearchQuery

func NewUserGrantProjectOwnerSearchQuery(id string) (SearchQuery, error)

func NewUserGrantResourceOwnerSearchQuery

func NewUserGrantResourceOwnerSearchQuery(id string) (SearchQuery, error)

func NewUserGrantRoleQuery

func NewUserGrantRoleQuery(value string) (SearchQuery, error)

func NewUserGrantUserIDSearchQuery

func NewUserGrantUserIDSearchQuery(id string) (SearchQuery, error)

func NewUserGrantUserTypeQuery

func NewUserGrantUserTypeQuery(typ domain.UserType) (SearchQuery, error)

func NewUserGrantUsernameQuery

func NewUserGrantUsernameQuery(value string, method TextComparison) (SearchQuery, error)

func NewUserGrantWithGrantedQuery

func NewUserGrantWithGrantedQuery(owner string) (SearchQuery, error)

func NewUserLastNameSearchQuery

func NewUserLastNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserLoginNamesSearchQuery

func NewUserLoginNamesSearchQuery(value string) (SearchQuery, error)

func NewUserMetadataKeySearchQuery

func NewUserMetadataKeySearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserMetadataResourceOwnerSearchQuery

func NewUserMetadataResourceOwnerSearchQuery(value string) (SearchQuery, error)

func NewUserNickNameSearchQuery

func NewUserNickNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserPreferredLoginNameSearchQuery

func NewUserPreferredLoginNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserResourceOwnerSearchQuery

func NewUserResourceOwnerSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

func NewUserStateSearchQuery

func NewUserStateSearchQuery(value int32) (SearchQuery, error)

func NewUserTypeSearchQuery

func NewUserTypeSearchQuery(value int32) (SearchQuery, error)

func NewUserUsernameSearchQuery

func NewUserUsernameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)

type SearchRequest

type SearchRequest struct {
	Offset        uint64
	Limit         uint64
	SortingColumn Column
	Asc           bool
}

type SearchResponse

type SearchResponse struct {
	Count uint64
	*LatestSequence
}

type SecondFactors

type SecondFactors struct {
	SearchResponse
	Factors []domain.SecondFactorType
}

type SecretGenerator

type SecretGenerator struct {
	AggregateID   string
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64

	GeneratorType       domain.SecretGeneratorType
	Length              uint
	Expiry              time.Duration
	IncludeLowerLetters bool
	IncludeUpperLetters bool
	IncludeDigits       bool
	IncludeSymbols      bool
}

type SecretGeneratorSearchQueries

type SecretGeneratorSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type SecretGenerators

type SecretGenerators struct {
	SearchResponse
	SecretGenerators []*SecretGenerator
}

type TextComparison

type TextComparison int
const (
	TextEquals TextComparison = iota
	TextEqualsIgnoreCase
	TextStartsWith
	TextStartsWithIgnoreCase
	TextEndsWith
	TextEndsWithIgnoreCase
	TextContains
	TextContainsIgnoreCase
	TextListContains
	TextNotEquals
)

func TextComparisonFromMethod deprecated

func TextComparisonFromMethod(m domain.SearchMethod) TextComparison

Deprecated: Use TextComparison, will be removed as soon as all calls are changed to query

type TextQuery

type TextQuery struct {
	Column  Column
	Text    string
	Compare TextComparison
}

func NewTextQuery

func NewTextQuery(col Column, value string, compare TextComparison) (*TextQuery, error)

type Theme

type Theme struct {
	PrimaryColor    string
	WarnColor       string
	BackgroundColor string
	FontColor       string
	LogoURL         string
	IconURL         string
}

type Twilio

type Twilio struct {
	SID          string
	Token        *crypto.CryptoValue
	SenderNumber string
}

type User

type User struct {
	ID                 string
	CreationDate       time.Time
	ChangeDate         time.Time
	ResourceOwner      string
	Sequence           uint64
	State              domain.UserState
	Type               domain.UserType
	Username           string
	LoginNames         []string
	PreferredLoginName string
	Human              *Human
	Machine            *Machine
}

type UserAuthMethodSearchQueries

type UserAuthMethodSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

func (*UserAuthMethodSearchQueries) AppendAuthMethodQuery

func (r *UserAuthMethodSearchQueries) AppendAuthMethodQuery(authMethod domain.UserAuthMethodType) error

func (*UserAuthMethodSearchQueries) AppendAuthMethodsQuery

func (r *UserAuthMethodSearchQueries) AppendAuthMethodsQuery(authMethod ...domain.UserAuthMethodType) error

func (*UserAuthMethodSearchQueries) AppendResourceOwnerQuery

func (r *UserAuthMethodSearchQueries) AppendResourceOwnerQuery(orgID string) error

func (*UserAuthMethodSearchQueries) AppendStateQuery

func (r *UserAuthMethodSearchQueries) AppendStateQuery(state domain.MFAState) error

func (*UserAuthMethodSearchQueries) AppendTokenIDQuery

func (r *UserAuthMethodSearchQueries) AppendTokenIDQuery(tokenID string) error

func (*UserAuthMethodSearchQueries) AppendUserIDQuery

func (r *UserAuthMethodSearchQueries) AppendUserIDQuery(userID string) error

type UserGrant

type UserGrant struct {
	ID           string
	CreationDate time.Time
	ChangeDate   time.Time
	Sequence     uint64
	Roles        []string
	GrantID      string
	State        domain.UserGrantState

	UserID             string
	Username           string
	UserType           domain.UserType
	UserResourceOwner  string
	FirstName          string
	LastName           string
	Email              string
	DisplayName        string
	AvatarURL          string
	PreferredLoginName string

	ResourceOwner    string
	OrgName          string
	OrgPrimaryDomain string

	ProjectID   string
	ProjectName string
}

type UserGrants

type UserGrants struct {
	SearchResponse
	UserGrants []*UserGrant
}

type UserGrantsQueries

type UserGrantsQueries struct {
	SearchRequest
	Queries []SearchQuery
}

type UserMetadata

type UserMetadata struct {
	CreationDate  time.Time
	ChangeDate    time.Time
	ResourceOwner string
	Sequence      uint64
	Key           string
	Value         []byte
}

type UserMetadataList

type UserMetadataList struct {
	SearchResponse
	Metadata []*UserMetadata
}

type UserMetadataSearchQueries

type UserMetadataSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

func (*UserMetadataSearchQueries) AppendMyResourceOwnerQuery

func (r *UserMetadataSearchQueries) AppendMyResourceOwnerQuery(orgID string) error

type UserSearchQueries

type UserSearchQueries struct {
	SearchRequest
	Queries []SearchQuery
}

func (*UserSearchQueries) AppendMyResourceOwnerQuery

func (r *UserSearchQueries) AppendMyResourceOwnerQuery(orgID string) error

type Users

type Users struct {
	SearchResponse
	Users []*User
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL