Documentation ¶
Index ¶
- Constants
- Variables
- func CustomTextToDomain(text *CustomText) *domain.CustomText
- func CustomTextsToDomain(texts *CustomTexts) []*domain.CustomText
- func CustomTextsToLoginDomain(instanceID, aggregateID, lang string, texts *CustomTexts) *domain.CustomLoginText
- func Or(queries ...SearchQuery) *or
- type APIApp
- type Action
- type ActionSearchQueries
- type Actions
- type App
- type AppSearchQueries
- type Apps
- type AuthMethod
- type AuthMethods
- type AuthNKey
- type AuthNKeyData
- type AuthNKeySearchQueries
- type AuthNKeys
- type AuthNKeysData
- type BoolQuery
- type Certificate
- type Certificates
- type Change
- type Changes
- type Column
- type CurrentSequence
- type CurrentSequences
- type CurrentSequencesSearchQueries
- type CustomText
- type CustomTexts
- type DebugNotificationProvider
- type Domain
- type DomainPolicy
- type Domains
- type Email
- type FailedEvent
- type FailedEventSearchQueries
- type FailedEvents
- type Flow
- type Human
- type HumanOTPWriteModel
- type HumanPasswordWriteModel
- type IAMMembersQuery
- type IAMMembership
- type IDP
- type IDPLoginPolicyLink
- type IDPLoginPolicyLinks
- type IDPLoginPolicyLinksSearchQuery
- type IDPSearchQueries
- type IDPUserLink
- type IDPUserLinks
- type IDPUserLinksSearchQuery
- type IDPs
- type Instance
- func (i *Instance) ConsoleApplicationID() string
- func (i *Instance) ConsoleClientID() string
- func (i *Instance) DefaultLanguage() language.Tag
- func (i *Instance) DefaultOrganisationID() string
- func (i *Instance) InstanceID() string
- func (i *Instance) ProjectID() string
- func (i *Instance) RequestedDomain() string
- func (i *Instance) RequestedHost() string
- type InstanceDomain
- type InstanceDomainSearchQueries
- type InstanceDomains
- type InstanceSearchQueries
- type Instances
- type JWTIDP
- type Key
- type LabelPolicy
- type LatestSequence
- type ListComparison
- type ListQuery
- type LockoutPolicy
- type LoginPolicy
- type Machine
- type MailTemplate
- type Member
- type Members
- type MembersQuery
- type Membership
- type MembershipSearchQuery
- type Memberships
- type MessageText
- type MessageTexts
- type MultiFactors
- type NotNullQuery
- type NotifyUser
- type NumberComparison
- type NumberQuery
- type OIDCApp
- type OIDCIDP
- type OIDCSettings
- type Org
- type OrgDomainSearchQueries
- type OrgMembersQuery
- type OrgMembership
- type OrgMetadata
- type OrgMetadataList
- type OrgMetadataSearchQueries
- type OrgSearchQueries
- type Orgs
- type PasswordAgePolicy
- type PasswordComplexityPolicy
- type PersonalAccessToken
- type PersonalAccessTokenSearchQueries
- type PersonalAccessTokens
- type Phone
- type PrivacyPolicy
- type PrivateKey
- type PrivateKeys
- type Profile
- type Project
- type ProjectGrant
- type ProjectGrantMembersQuery
- type ProjectGrantMembership
- type ProjectGrantSearchQueries
- type ProjectGrants
- type ProjectMembersQuery
- type ProjectMembership
- type ProjectRole
- type ProjectRoleSearchQueries
- type ProjectRoles
- type ProjectSearchQueries
- type Projects
- type PublicKey
- type PublicKeys
- type Queries
- func (q *Queries) ActiveCertificates(ctx context.Context, t time.Time, usage domain.KeyUsage) (*Certificates, error)
- func (q *Queries) ActiveLabelPolicyByOrg(ctx context.Context, orgID string) (*LabelPolicy, error)
- func (q *Queries) ActivePrivateSigningKey(ctx context.Context, t time.Time) (*PrivateKeys, error)
- func (q *Queries) ActivePublicKeys(ctx context.Context, t time.Time) (*PublicKeys, error)
- func (q *Queries) AppByClientID(ctx context.Context, clientID string) (*App, error)
- func (q *Queries) AppByID(ctx context.Context, appID string) (*App, error)
- func (q *Queries) AppByOIDCClientID(ctx context.Context, clientID string) (*App, error)
- func (q *Queries) AppByProjectAndAppID(ctx context.Context, shouldTriggerBulk bool, projectID, appID string) (*App, error)
- func (q *Queries) AppBySAMLEntityID(ctx context.Context, entityID string) (*App, error)
- func (q *Queries) ApplicationChanges(ctx context.Context, projectID, appID string, lastSequence uint64, ...) (*Changes, error)
- func (q *Queries) ClearCurrentSequence(ctx context.Context, projectionName string) (err error)
- func (q *Queries) CustomMessageTextByTypeAndLanguage(ctx context.Context, aggregateID, messageType, language string) (*MessageText, error)
- func (q *Queries) CustomTextList(ctx context.Context, aggregateID, template, language string) (texts *CustomTexts, err error)
- func (q *Queries) CustomTextListByTemplate(ctx context.Context, aggregateID, template string) (texts *CustomTexts, err error)
- func (q *Queries) DefaultActiveLabelPolicy(ctx context.Context) (*LabelPolicy, error)
- func (q *Queries) DefaultDomainPolicy(ctx context.Context) (*DomainPolicy, error)
- func (q *Queries) DefaultLockoutPolicy(ctx context.Context) (*LockoutPolicy, error)
- func (q *Queries) DefaultLoginPolicy(ctx context.Context) (*LoginPolicy, error)
- func (q *Queries) DefaultMailTemplate(ctx context.Context) (*MailTemplate, error)
- func (q *Queries) DefaultMessageText(ctx context.Context) (*MessageText, error)
- func (q *Queries) DefaultMessageTextByTypeAndLanguageFromFileSystem(ctx context.Context, messageType, language string) (*MessageText, error)
- func (q *Queries) DefaultMultiFactors(ctx context.Context) (*MultiFactors, error)
- func (q *Queries) DefaultPasswordAgePolicy(ctx context.Context, shouldTriggerBulk bool) (*PasswordAgePolicy, error)
- func (q *Queries) DefaultPasswordComplexityPolicy(ctx context.Context, shouldTriggerBulk bool) (*PasswordComplexityPolicy, error)
- func (q *Queries) DefaultPreviewLabelPolicy(ctx context.Context) (*LabelPolicy, error)
- func (q *Queries) DefaultPrivacyPolicy(ctx context.Context, shouldTriggerBulk bool) (*PrivacyPolicy, error)
- func (q *Queries) DefaultSecondFactors(ctx context.Context) (*SecondFactors, error)
- func (q *Queries) DomainPolicyByOrg(ctx context.Context, shouldTriggerBulk bool, orgID string) (*DomainPolicy, error)
- func (q *Queries) ExistsOrg(ctx context.Context, id string) (err error)
- func (q *Queries) GetActionByID(ctx context.Context, id string, orgID string) (*Action, error)
- func (q *Queries) GetActiveActionsByFlowAndTriggerType(ctx context.Context, flowType domain.FlowType, triggerType domain.TriggerType, ...) ([]*Action, error)
- func (q *Queries) GetAuthNKeyByID(ctx context.Context, shouldTriggerBulk bool, id string, queries ...SearchQuery) (*AuthNKey, error)
- func (q *Queries) GetAuthNKeyPublicKeyByIDAndIdentifier(ctx context.Context, id string, identifier string) ([]byte, error)
- func (q *Queries) GetCustomLoginTexts(ctx context.Context, aggregateID, lang string) (*domain.CustomLoginText, error)
- func (q *Queries) GetDefaultLanguage(ctx context.Context) language.Tag
- func (q *Queries) GetDefaultLoginTexts(ctx context.Context, lang string) (*domain.CustomLoginText, error)
- func (q *Queries) GetFlow(ctx context.Context, flowType domain.FlowType, orgID string) (*Flow, error)
- func (q *Queries) GetFlowTypesOfActionID(ctx context.Context, actionID string) ([]domain.FlowType, error)
- func (q *Queries) GetHumanEmail(ctx context.Context, userID string, queries ...SearchQuery) (*Email, error)
- func (q *Queries) GetHumanOTPSecret(ctx context.Context, userID, resourceowner string) (string, error)
- func (q *Queries) GetHumanPassword(ctx context.Context, orgID, userID string) (passwordHash []byte, algorithm string, err error)
- func (q *Queries) GetHumanPhone(ctx context.Context, userID string, queries ...SearchQuery) (*Phone, error)
- func (q *Queries) GetHumanProfile(ctx context.Context, userID string, queries ...SearchQuery) (*Profile, error)
- func (q *Queries) GetIAMMemberRoles() []string
- func (q *Queries) GetNotifyUser(ctx context.Context, shouldTriggered bool, queries ...SearchQuery) (*NotifyUser, error)
- func (q *Queries) GetNotifyUserByID(ctx context.Context, shouldTriggered bool, userID string, ...) (*NotifyUser, error)
- func (q *Queries) GetOIDCIDPClientSecret(ctx context.Context, shouldRealTime bool, resourceowner, idpID string) (string, error)
- func (q *Queries) GetOrgMemberRoles(isGlobal bool) []string
- func (q *Queries) GetOrgMetadataByKey(ctx context.Context, shouldTriggerBulk bool, orgID string, key string, ...) (*OrgMetadata, error)
- func (q *Queries) GetProjectGrantMemberRoles() []string
- func (q *Queries) GetProjectMemberRoles(ctx context.Context) ([]string, error)
- func (q *Queries) GetUser(ctx context.Context, shouldTriggerBulk bool, queries ...SearchQuery) (*User, error)
- func (q *Queries) GetUserByID(ctx context.Context, shouldTriggerBulk bool, userID string, ...) (*User, error)
- func (q *Queries) GetUserMetadataByKey(ctx context.Context, shouldTriggerBulk bool, userID, key string, ...) (*UserMetadata, error)
- func (q *Queries) Health(ctx context.Context) error
- func (q *Queries) IAMLoginTexts(ctx context.Context, lang string) (*domain.CustomLoginText, error)
- func (q *Queries) IAMMembers(ctx context.Context, queries *IAMMembersQuery) (*Members, error)
- func (q *Queries) IAMMessageTextByTypeAndLanguage(ctx context.Context, messageType, language string) (*MessageText, error)
- func (q *Queries) IDPByIDAndResourceOwner(ctx context.Context, shouldTriggerBulk bool, id, resourceOwner string) (*IDP, error)
- func (q *Queries) IDPLoginPolicyLinks(ctx context.Context, resourceOwner string, ...) (idps *IDPLoginPolicyLinks, err error)
- func (q *Queries) IDPUserLinks(ctx context.Context, queries *IDPUserLinksSearchQuery) (idps *IDPUserLinks, err error)
- func (q *Queries) IDPs(ctx context.Context, queries *IDPSearchQueries) (idps *IDPs, err error)
- func (q *Queries) InitEncryptionGenerator(ctx context.Context, generatorType domain.SecretGeneratorType, ...) (crypto.Generator, error)
- func (q *Queries) InitHashGenerator(ctx context.Context, generatorType domain.SecretGeneratorType, ...) (crypto.Generator, error)
- func (q *Queries) Instance(ctx context.Context, shouldTriggerBulk bool) (*Instance, error)
- func (q *Queries) InstanceByHost(ctx context.Context, host string) (authz.Instance, error)
- func (q *Queries) IsOrgUnique(ctx context.Context, name, domain string) (isUnique bool, err error)
- func (q *Queries) IsUserUnique(ctx context.Context, username, email, resourceOwner string) (bool, error)
- func (q *Queries) Languages(ctx context.Context) ([]language.Tag, error)
- func (q *Queries) LockoutPolicyByOrg(ctx context.Context, shouldTriggerBulk bool, orgID string) (*LockoutPolicy, error)
- func (q *Queries) LoginPolicyByID(ctx context.Context, shouldTriggerBulk bool, orgID string) (*LoginPolicy, error)
- func (q *Queries) MailTemplateByOrg(ctx context.Context, orgID string) (*MailTemplate, error)
- func (q *Queries) Memberships(ctx context.Context, queries *MembershipSearchQuery) (*Memberships, error)
- func (q *Queries) MultiFactorsByOrg(ctx context.Context, orgID string) (*MultiFactors, error)
- func (q *Queries) MyZitadelPermissions(ctx context.Context, orgID, userID string) (*domain.Permissions, error)
- func (q *Queries) NotificationProviderByIDAndType(ctx context.Context, aggID string, ...) (*DebugNotificationProvider, error)
- func (q *Queries) OIDCSettingsByAggID(ctx context.Context, aggregateID string) (*OIDCSettings, error)
- func (q *Queries) OrgByID(ctx context.Context, shouldTriggerBulk bool, id string) (*Org, error)
- func (q *Queries) OrgByPrimaryDomain(ctx context.Context, domain string) (*Org, error)
- func (q *Queries) OrgByVerifiedDomain(ctx context.Context, domain string) (*Org, error)
- func (q *Queries) OrgChanges(ctx context.Context, orgID string, lastSequence uint64, limit uint64, ...) (*Changes, error)
- func (q *Queries) OrgMembers(ctx context.Context, queries *OrgMembersQuery) (*Members, error)
- func (q *Queries) PasswordAgePolicyByOrg(ctx context.Context, shouldTriggerBulk bool, orgID string) (*PasswordAgePolicy, error)
- func (q *Queries) PasswordComplexityPolicyByOrg(ctx context.Context, shouldTriggerBulk bool, orgID string) (*PasswordComplexityPolicy, error)
- func (q *Queries) PersonalAccessTokenByID(ctx context.Context, shouldTriggerBulk bool, id string, queries ...SearchQuery) (*PersonalAccessToken, error)
- func (q *Queries) PreviewLabelPolicyByOrg(ctx context.Context, orgID string) (*LabelPolicy, error)
- func (q *Queries) PrivacyPolicyByOrg(ctx context.Context, shouldTriggerBulk bool, orgID string) (*PrivacyPolicy, error)
- func (q *Queries) ProjectByClientID(ctx context.Context, appID string) (*Project, error)
- func (q *Queries) ProjectByID(ctx context.Context, shouldTriggerBulk bool, id string) (*Project, error)
- func (q *Queries) ProjectByOIDCClientID(ctx context.Context, id string) (*Project, error)
- func (q *Queries) ProjectChanges(ctx context.Context, projectID string, lastSequence uint64, limit uint64, ...) (*Changes, error)
- func (q *Queries) ProjectGrantByID(ctx context.Context, shouldTriggerBulk bool, id string) (*ProjectGrant, error)
- func (q *Queries) ProjectGrantByIDAndGrantedOrg(ctx context.Context, id, grantedOrg string) (*ProjectGrant, error)
- func (q *Queries) ProjectGrantChanges(ctx context.Context, projectID, grantID string, lastSequence uint64, ...) (*Changes, error)
- func (q *Queries) ProjectGrantMembers(ctx context.Context, queries *ProjectGrantMembersQuery) (*Members, error)
- func (q *Queries) ProjectIDFromClientID(ctx context.Context, appID string) (string, error)
- func (q *Queries) ProjectIDFromOIDCClientID(ctx context.Context, appID string) (string, error)
- func (q *Queries) ProjectMembers(ctx context.Context, queries *ProjectMembersQuery) (*Members, error)
- func (q *Queries) RemoveFailedEvent(ctx context.Context, projectionName string, sequence uint64) (err error)
- func (q *Queries) SMSProviderConfig(ctx context.Context, queries ...SearchQuery) (*SMSConfig, error)
- func (q *Queries) SMSProviderConfigByID(ctx context.Context, id string) (*SMSConfig, error)
- func (q *Queries) SMTPConfigByAggregateID(ctx context.Context, aggregateID string) (*SMTPConfig, error)
- func (q *Queries) SearchActions(ctx context.Context, queries *ActionSearchQueries) (actions *Actions, err error)
- func (q *Queries) SearchApps(ctx context.Context, queries *AppSearchQueries) (*Apps, error)
- func (q *Queries) SearchAuthNKeys(ctx context.Context, queries *AuthNKeySearchQueries) (authNKeys *AuthNKeys, err error)
- func (q *Queries) SearchAuthNKeysData(ctx context.Context, queries *AuthNKeySearchQueries) (authNKeys *AuthNKeysData, err error)
- func (q *Queries) SearchClientIDs(ctx context.Context, queries *AppSearchQueries) ([]string, error)
- func (q *Queries) SearchCurrentSequences(ctx context.Context, queries *CurrentSequencesSearchQueries) (failedEvents *CurrentSequences, err error)
- func (q *Queries) SearchFailedEvents(ctx context.Context, queries *FailedEventSearchQueries) (failedEvents *FailedEvents, err error)
- func (q *Queries) SearchGrantedProjectRoles(ctx context.Context, grantID, grantedOrg string, ...) (projects *ProjectRoles, err error)
- func (q *Queries) SearchInstanceDomains(ctx context.Context, queries *InstanceDomainSearchQueries) (domains *InstanceDomains, err error)
- func (q *Queries) SearchInstanceDomainsGlobal(ctx context.Context, queries *InstanceDomainSearchQueries) (domains *InstanceDomains, err error)
- func (q *Queries) SearchInstances(ctx context.Context, queries *InstanceSearchQueries) (instances *Instances, err error)
- func (q *Queries) SearchOrgDomains(ctx context.Context, queries *OrgDomainSearchQueries) (domains *Domains, err error)
- func (q *Queries) SearchOrgMetadata(ctx context.Context, shouldTriggerBulk bool, orgID string, ...) (*OrgMetadataList, error)
- func (q *Queries) SearchOrgs(ctx context.Context, queries *OrgSearchQueries) (orgs *Orgs, err error)
- func (q *Queries) SearchPersonalAccessTokens(ctx context.Context, queries *PersonalAccessTokenSearchQueries) (personalAccessTokens *PersonalAccessTokens, err error)
- func (q *Queries) SearchProjectGrants(ctx context.Context, queries *ProjectGrantSearchQueries) (projects *ProjectGrants, err error)
- func (q *Queries) SearchProjectGrantsByProjectIDAndRoleKey(ctx context.Context, projectID, roleKey string) (projects *ProjectGrants, err error)
- func (q *Queries) SearchProjectRoles(ctx context.Context, shouldTriggerBulk bool, queries *ProjectRoleSearchQueries) (projects *ProjectRoles, err error)
- func (q *Queries) SearchProjects(ctx context.Context, queries *ProjectSearchQueries) (projects *Projects, err error)
- func (q *Queries) SearchSMSConfigs(ctx context.Context, queries *SMSConfigsSearchQueries) (*SMSConfigs, error)
- func (q *Queries) SearchSecretGenerators(ctx context.Context, queries *SecretGeneratorSearchQueries) (secretGenerators *SecretGenerators, err error)
- func (q *Queries) SearchUserAuthMethods(ctx context.Context, queries *UserAuthMethodSearchQueries) (userAuthMethods *AuthMethods, err error)
- func (q *Queries) SearchUserMetadata(ctx context.Context, shouldTriggerBulk bool, userID string, ...) (*UserMetadataList, error)
- func (q *Queries) SearchUsers(ctx context.Context, queries *UserSearchQueries) (*Users, error)
- func (q *Queries) SecondFactorsByOrg(ctx context.Context, orgID string) (*SecondFactors, error)
- func (q *Queries) SecretGeneratorByType(ctx context.Context, generatorType domain.SecretGeneratorType) (*SecretGenerator, error)
- func (q *Queries) UserChanges(ctx context.Context, userID string, lastSequence uint64, limit uint64, ...) (*Changes, error)
- func (q *Queries) UserGrant(ctx context.Context, shouldTriggerBulk bool, queries ...SearchQuery) (*UserGrant, error)
- func (q *Queries) UserGrants(ctx context.Context, queries *UserGrantsQueries) (*UserGrants, error)
- type SAMLApp
- type SMSConfig
- type SMSConfigs
- type SMSConfigsSearchQueries
- type SMTPConfig
- type SMTPConfigs
- type SearchQuery
- func NewActionIDSearchQuery(id string) (SearchQuery, error)
- func NewActionNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewActionResourceOwnerQuery(id string) (SearchQuery, error)
- func NewActionStateSearchQuery(value domain.ActionState) (SearchQuery, error)
- func NewAppNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewAppProjectIDSearchQuery(id string) (SearchQuery, error)
- func NewAuthNKeyAggregateIDQuery(id string) (SearchQuery, error)
- func NewAuthNKeyObjectIDQuery(id string) (SearchQuery, error)
- func NewAuthNKeyResourceOwnerQuery(id string) (SearchQuery, error)
- func NewFailedEventProjectionNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewIDPIDSearchQuery(id string) (SearchQuery, error)
- func NewIDPNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewIDPOwnerTypeSearchQuery(ownerType domain.IdentityProviderType) (SearchQuery, error)
- func NewIDPResourceOwnerListSearchQuery(ids ...string) (SearchQuery, error)
- func NewIDPResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewIDPUserLinkIDPIDSearchQuery(value string) (SearchQuery, error)
- func NewIDPUserLinksResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewIDPUserLinksUserIDSearchQuery(value string) (SearchQuery, error)
- func NewInstanceDomainDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewInstanceDomainGeneratedSearchQuery(generated bool) (SearchQuery, error)
- func NewInstanceDomainInstanceIDSearchQuery(value string) (SearchQuery, error)
- func NewInstanceDomainPrimarySearchQuery(primary bool) (SearchQuery, error)
- func NewInstanceIDsListSearchQuery(ids ...string) (SearchQuery, error)
- func NewMemberEmailSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewMemberFirstNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewMemberLastNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewMemberResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewMemberUserIDSearchQuery(value string) (SearchQuery, error)
- func NewMembershipGrantedOrgIDSearchQuery(id string) (SearchQuery, error)
- func NewMembershipIsIAMQuery() (SearchQuery, error)
- func NewMembershipOrgIDQuery(value string) (SearchQuery, error)
- func NewMembershipProjectGrantIDQuery(value string) (SearchQuery, error)
- func NewMembershipProjectIDQuery(value string) (SearchQuery, error)
- func NewMembershipResourceOwnerQuery(value string) (SearchQuery, error)
- func NewMembershipResourceOwnersSearchQuery(ids ...string) (SearchQuery, error)
- func NewMembershipUserIDQuery(userID string) (SearchQuery, error)
- func NewOrgDomainDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewOrgDomainOrgIDSearchQuery(value string) (SearchQuery, error)
- func NewOrgDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewOrgDomainVerifiedSearchQuery(verified bool) (SearchQuery, error)
- func NewOrgIDsSearchQuery(ids ...string) (SearchQuery, error)
- func NewOrgMetadataKeySearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewOrgMetadataResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewOrgNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewPersonalAccessTokenResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewPersonalAccessTokenUserIDSearchQuery(value string) (SearchQuery, error)
- func NewProjectGrantGrantedOrgIDSearchQuery(value string) (SearchQuery, error)
- func NewProjectGrantIDsSearchQuery(values []string) (SearchQuery, error)
- func NewProjectGrantProjectIDSearchQuery(value string) (SearchQuery, error)
- func NewProjectGrantProjectNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewProjectGrantResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewProjectGrantRoleKeySearchQuery(value string) (SearchQuery, error)
- func NewProjectIDSearchQuery(ids []string) (SearchQuery, error)
- func NewProjectNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewProjectResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewProjectRoleDisplayNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewProjectRoleGroupSearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewProjectRoleKeySearchQuery(method TextComparison, value string) (SearchQuery, error)
- func NewProjectRoleKeysSearchQuery(values []string) (SearchQuery, error)
- func NewProjectRoleProjectIDSearchQuery(value string) (SearchQuery, error)
- func NewProjectRoleResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewSMSProviderStateQuery(state domain.SMSConfigState) (SearchQuery, error)
- func NewSecretGeneratorTypeSearchQuery(value int32) (SearchQuery, error)
- func NewUserAuthMethodResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewUserAuthMethodStateSearchQuery(value domain.MFAState) (SearchQuery, error)
- func NewUserAuthMethodTokenIDSearchQuery(value string) (SearchQuery, error)
- func NewUserAuthMethodTypeSearchQuery(value domain.UserAuthMethodType) (SearchQuery, error)
- func NewUserAuthMethodTypesSearchQuery(values ...domain.UserAuthMethodType) (SearchQuery, error)
- func NewUserAuthMethodUserIDSearchQuery(value string) (SearchQuery, error)
- func NewUserDisplayNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserEmailSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserFirstNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserGrantContainsRolesSearchQuery(roles ...string) (SearchQuery, error)
- func NewUserGrantDisplayNameQuery(displayName string, method TextComparison) (SearchQuery, error)
- func NewUserGrantDomainQuery(value string, method TextComparison) (SearchQuery, error)
- func NewUserGrantEmailQuery(email string, method TextComparison) (SearchQuery, error)
- func NewUserGrantFirstNameQuery(value string, method TextComparison) (SearchQuery, error)
- func NewUserGrantGrantIDSearchQuery(id string) (SearchQuery, error)
- func NewUserGrantLastNameQuery(value string, method TextComparison) (SearchQuery, error)
- func NewUserGrantOrgNameQuery(value string, method TextComparison) (SearchQuery, error)
- func NewUserGrantProjectIDSearchQuery(id string) (SearchQuery, error)
- func NewUserGrantProjectNameQuery(value string, method TextComparison) (SearchQuery, error)
- func NewUserGrantProjectOwnerSearchQuery(id string) (SearchQuery, error)
- func NewUserGrantResourceOwnerSearchQuery(id string) (SearchQuery, error)
- func NewUserGrantRoleQuery(value string) (SearchQuery, error)
- func NewUserGrantUserIDSearchQuery(id string) (SearchQuery, error)
- func NewUserGrantUserTypeQuery(typ domain.UserType) (SearchQuery, error)
- func NewUserGrantUsernameQuery(value string, method TextComparison) (SearchQuery, error)
- func NewUserGrantWithGrantedQuery(owner string) (SearchQuery, error)
- func NewUserLastNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserLoginNamesSearchQuery(value string) (SearchQuery, error)
- func NewUserMetadataKeySearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserMetadataResourceOwnerSearchQuery(value string) (SearchQuery, error)
- func NewUserNickNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserPhoneSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserPreferredLoginNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserResourceOwnerSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserStateSearchQuery(value int32) (SearchQuery, error)
- func NewUserTypeSearchQuery(value int32) (SearchQuery, error)
- func NewUserUsernameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserVerifiedEmailSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- func NewUserVerifiedPhoneSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
- type SearchRequest
- type SearchResponse
- type SecondFactors
- type SecretGenerator
- type SecretGeneratorSearchQueries
- type SecretGenerators
- type TextComparison
- type TextQuery
- type Theme
- type Twilio
- type User
- type UserAuthMethodSearchQueries
- func (r *UserAuthMethodSearchQueries) AppendAuthMethodQuery(authMethod domain.UserAuthMethodType) error
- func (r *UserAuthMethodSearchQueries) AppendAuthMethodsQuery(authMethod ...domain.UserAuthMethodType) error
- func (r *UserAuthMethodSearchQueries) AppendResourceOwnerQuery(orgID string) error
- func (r *UserAuthMethodSearchQueries) AppendStateQuery(state domain.MFAState) error
- func (r *UserAuthMethodSearchQueries) AppendTokenIDQuery(tokenID string) error
- func (r *UserAuthMethodSearchQueries) AppendUserIDQuery(userID string) error
- type UserGrant
- type UserGrants
- type UserGrantsQueries
- type UserMetadata
- type UserMetadataList
- type UserMetadataSearchQueries
- type UserSearchQueries
- type Users
Constants ¶
View Source
const ( ProjectGrantGrantedOrgTableAlias = "o" ProjectGrantResourceOwnerTableAlias = "r" )
View Source
const (
InstancesFilterTableAlias = "f"
)
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 ( AppSAMLConfigColumnAppID = Column{ // contains filtered or unexported fields } AppSAMLConfigColumnEntityID = Column{ // contains filtered or unexported fields } AppSAMLConfigColumnMetadata = Column{ // contains filtered or unexported fields } AppSAMLConfigColumnMetadataURL = 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 ( CertificateColID = Column{ // contains filtered or unexported fields } CertificateColExpiry = Column{ // contains filtered or unexported fields } CertificateColCertificate = 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 ( 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 } DomainPolicyColSMTPSenderAddressMatchesInstanceDomain = Column{ // contains filtered or unexported fields } DomainPolicyColIsDefault = Column{ // contains filtered or unexported fields } DomainPolicyColState = 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 } IDPLoginPolicyLinkAggregateIDCol = 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 } InstanceColumnDefaultOrgID = 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 } 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 } LoginPolicyColumnIgnoreUnknownUsernames = Column{ // contains filtered or unexported fields } LoginPolicyColumnAllowDomainDiscovery = Column{ // contains filtered or unexported fields } LoginPolicyColumnDisableLoginWithEmail = Column{ // contains filtered or unexported fields } LoginPolicyColumnDisableLoginWithPhone = Column{ // contains filtered or unexported fields } LoginPolicyColumnDefaultRedirectURI = 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 } // 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 ( 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 ( OrgMetadataOrgIDCol = Column{ // contains filtered or unexported fields } OrgMetadataCreationDateCol = Column{ // contains filtered or unexported fields } OrgMetadataChangeDateCol = Column{ // contains filtered or unexported fields } OrgMetadataResourceOwnerCol = Column{ // contains filtered or unexported fields } OrgMetadataInstanceIDCol = Column{ // contains filtered or unexported fields } OrgMetadataSequenceCol = Column{ // contains filtered or unexported fields } OrgMetadataKeyCol = Column{ // contains filtered or unexported fields } OrgMetadataValueCol = 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 } 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 } 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 } )
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 ( NotifyUserIDCol = Column{ // contains filtered or unexported fields } NotifyEmailCol = Column{ // contains filtered or unexported fields } NotifyVerifiedEmailCol = Column{ // contains filtered or unexported fields } NotifyPhoneCol = Column{ // contains filtered or unexported fields } NotifyVerifiedPhoneCol = Column{ // contains filtered or unexported fields } NotifyPasswordSetCol = 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
func Or ¶
func Or(queries ...SearchQuery) *or
Types ¶
type APIApp ¶
type APIApp struct { ClientID string AuthMethodType domain.APIAuthMethodType }
type Action ¶
type ActionSearchQueries ¶
type ActionSearchQueries struct { SearchRequest Queries []SearchQuery }
type Actions ¶
type Actions struct { SearchResponse Actions []*Action }
type AppSearchQueries ¶
type AppSearchQueries struct { SearchRequest Queries []SearchQuery }
type Apps ¶
type Apps struct { SearchResponse Apps []*App }
type AuthMethod ¶
type AuthMethods ¶
type AuthMethods struct { SearchResponse AuthMethods []*AuthMethod }
type AuthNKeyData ¶
type AuthNKeySearchQueries ¶
type AuthNKeySearchQueries struct { SearchRequest Queries []SearchQuery }
type AuthNKeys ¶
type AuthNKeys struct { SearchResponse AuthNKeys []*AuthNKey }
type AuthNKeysData ¶
type AuthNKeysData struct { SearchResponse AuthNKeysData []*AuthNKeyData }
type Certificate ¶
type Certificates ¶
type Certificates struct { SearchResponse Certificates []Certificate }
type CurrentSequence ¶
type CurrentSequences ¶
type CurrentSequences struct { SearchResponse CurrentSequences []*CurrentSequence }
type CurrentSequencesSearchQueries ¶
type CurrentSequencesSearchQueries struct { SearchRequest Queries []SearchQuery }
type CustomText ¶
type CustomTexts ¶
type CustomTexts struct { SearchResponse CustomTexts []*CustomText }
type DomainPolicy ¶
type Domains ¶
type Domains struct { SearchResponse Domains []*Domain }
type FailedEvent ¶
type FailedEventSearchQueries ¶
type FailedEventSearchQueries struct { SearchRequest Queries []SearchQuery }
type FailedEvents ¶
type FailedEvents struct { SearchResponse FailedEvents []*FailedEvent }
type HumanOTPWriteModel ¶
type HumanOTPWriteModel struct { eventstore.WriteModel State domain.MFAState Secret *crypto.CryptoValue }
func NewHumanOTPWriteModel ¶
func NewHumanOTPWriteModel(userID, resourceOwner string) *HumanOTPWriteModel
func (*HumanOTPWriteModel) Query ¶
func (wm *HumanOTPWriteModel) Query() *eventstore.SearchQueryBuilder
func (*HumanOTPWriteModel) Reduce ¶
func (wm *HumanOTPWriteModel) Reduce() error
type HumanPasswordWriteModel ¶
type HumanPasswordWriteModel struct { eventstore.WriteModel Secret *crypto.CryptoValue SecretChangeRequired bool Code *crypto.CryptoValue CodeCreationDate time.Time CodeExpiry time.Duration PasswordCheckFailedCount uint64 UserState domain.UserState }
func NewHumanPasswordWriteModel ¶
func NewHumanPasswordWriteModel(userID, resourceOwner string) *HumanPasswordWriteModel
func (*HumanPasswordWriteModel) Query ¶
func (wm *HumanPasswordWriteModel) Query() *eventstore.SearchQueryBuilder
func (*HumanPasswordWriteModel) Reduce ¶
func (wm *HumanPasswordWriteModel) Reduce() error
type IAMMembersQuery ¶
type IAMMembersQuery struct {
MembersQuery
}
type IAMMembership ¶
type IDPLoginPolicyLink ¶
type IDPLoginPolicyLink struct { IDPID string IDPName string IDPType domain.IDPConfigType }
type IDPLoginPolicyLinks ¶
type IDPLoginPolicyLinks struct { SearchResponse Links []*IDPLoginPolicyLink }
type IDPLoginPolicyLinksSearchQuery ¶
type IDPLoginPolicyLinksSearchQuery struct { SearchRequest Queries []SearchQuery }
type IDPSearchQueries ¶
type IDPSearchQueries struct { SearchRequest Queries []SearchQuery }
type IDPUserLink ¶
type IDPUserLinks ¶
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 DefaultOrgID string IAMProjectID string ConsoleID string ConsoleAppID string DefaultLang language.Tag Domains []*InstanceDomain // contains filtered or unexported fields }
func (*Instance) ConsoleApplicationID ¶
func (*Instance) ConsoleClientID ¶
func (*Instance) DefaultLanguage ¶
func (*Instance) DefaultOrganisationID ¶
func (*Instance) InstanceID ¶
func (*Instance) RequestedDomain ¶
func (*Instance) RequestedHost ¶
type InstanceDomain ¶
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 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 }
func (*LabelPolicy) ToDomain ¶
func (p *LabelPolicy) ToDomain() *domain.LabelPolicy
type LatestSequence ¶
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 LoginPolicy ¶
type LoginPolicy struct { OrgID string CreationDate time.Time ChangeDate time.Time Sequence uint64 AllowRegister bool AllowUsernamePassword bool AllowExternalIDPs bool ForceMFA bool SecondFactors database.EnumArray[domain.SecondFactorType] MultiFactors database.EnumArray[domain.MultiFactorType] PasswordlessType domain.PasswordlessType IsDefault bool HidePasswordReset bool IgnoreUnknownUsernames bool AllowDomainDiscovery bool DisableLoginWithEmail bool DisableLoginWithPhone bool DefaultRedirectURI string PasswordCheckLifetime time.Duration ExternalLoginCheckLifetime time.Duration MFAInitSkipLifetime time.Duration SecondFactorCheckLifetime time.Duration MultiFactorCheckLifetime time.Duration IDPLinks []*IDPLoginPolicyLink }
type MailTemplate ¶
type Members ¶
type Members struct { SearchResponse Members []*Member }
type MembersQuery ¶
type MembersQuery struct { SearchRequest Queries []SearchQuery }
type Membership ¶
type Membership struct { UserID string Roles database.StringArray 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 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 database.EnumArray[domain.MultiFactorType] }
type NotNullQuery ¶
type NotNullQuery struct {
Column Column
}
func NewNotNullQuery ¶
func NewNotNullQuery(col Column) (*NotNullQuery, error)
type NotifyUser ¶
type NotifyUser struct { ID string CreationDate time.Time ChangeDate time.Time ResourceOwner string Sequence uint64 State domain.UserState Type domain.UserType Username string LoginNames database.StringArray PreferredLoginName string FirstName string LastName string NickName string DisplayName string AvatarKey string PreferredLanguage language.Tag Gender domain.Gender LastEmail string VerifiedEmail string LastPhone string VerifiedPhone string PasswordSet bool }
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 database.StringArray ResponseTypes database.EnumArray[domain.OIDCResponseType] GrantTypes database.EnumArray[domain.OIDCGrantType] AppType domain.OIDCApplicationType ClientID string AuthMethodType domain.OIDCAuthMethodType PostLogoutRedirectURIs database.StringArray Version domain.OIDCVersion ComplianceProblems database.StringArray IsDevMode bool AccessTokenType domain.OIDCTokenType AssertAccessTokenRole bool AssertIDTokenRole bool AssertIDTokenUserinfo bool ClockSkew time.Duration AdditionalOrigins database.StringArray AllowedOrigins database.StringArray }
type OIDCIDP ¶
type OIDCIDP struct { IDPID string ClientID string ClientSecret *crypto.CryptoValue Issuer string Scopes database.StringArray DisplayNameMapping domain.OIDCMappingField UsernameMapping domain.OIDCMappingField AuthorizationEndpoint string TokenEndpoint string }
type OIDCSettings ¶
type OrgDomainSearchQueries ¶
type OrgDomainSearchQueries struct { SearchRequest Queries []SearchQuery }
type OrgMembersQuery ¶
type OrgMembersQuery struct { MembersQuery OrgID string }
type OrgMembership ¶
type OrgMetadata ¶
type OrgMetadataList ¶
type OrgMetadataList struct { SearchResponse Metadata []*OrgMetadata }
type OrgMetadataSearchQueries ¶
type OrgMetadataSearchQueries struct { SearchRequest Queries []SearchQuery }
func (*OrgMetadataSearchQueries) AppendMyResourceOwnerQuery ¶
func (r *OrgMetadataSearchQueries) AppendMyResourceOwnerQuery(orgID string) error
type OrgSearchQueries ¶
type OrgSearchQueries struct { SearchRequest Queries []SearchQuery }
type Orgs ¶
type Orgs struct { SearchResponse Orgs []*Org }
type PasswordAgePolicy ¶
type PersonalAccessToken ¶
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 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 ProjectGrant ¶
type ProjectGrantMembersQuery ¶
type ProjectGrantMembersQuery struct { MembersQuery ProjectID, GrantID, OrgID string }
type ProjectGrantMembership ¶
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 ProjectRole ¶
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 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, defaults sd.SystemDefaults, idpConfigEncryption, otpEncryption, keyEncryptionAlgorithm crypto.EncryptionAlgorithm, certEncryptionAlgorithm crypto.EncryptionAlgorithm, zitadelRoles []authz.RoleMapping) (repo *Queries, err error)
func (*Queries) ActiveCertificates ¶
func (*Queries) ActiveLabelPolicyByOrg ¶
func (*Queries) ActivePrivateSigningKey ¶
func (*Queries) ActivePublicKeys ¶
func (*Queries) AppByClientID ¶
func (*Queries) AppByOIDCClientID ¶
func (*Queries) AppByProjectAndAppID ¶
func (*Queries) AppBySAMLEntityID ¶
func (*Queries) ApplicationChanges ¶
func (*Queries) ClearCurrentSequence ¶
func (*Queries) CustomMessageTextByTypeAndLanguage ¶
func (*Queries) CustomTextList ¶
func (*Queries) CustomTextListByTemplate ¶
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 (*Queries) DefaultMultiFactors ¶
func (q *Queries) DefaultMultiFactors(ctx context.Context) (*MultiFactors, error)
func (*Queries) DefaultPasswordAgePolicy ¶
func (*Queries) DefaultPasswordComplexityPolicy ¶
func (*Queries) DefaultPreviewLabelPolicy ¶
func (q *Queries) DefaultPreviewLabelPolicy(ctx context.Context) (*LabelPolicy, error)
func (*Queries) DefaultPrivacyPolicy ¶
func (*Queries) DefaultSecondFactors ¶
func (q *Queries) DefaultSecondFactors(ctx context.Context) (*SecondFactors, error)
func (*Queries) DomainPolicyByOrg ¶
func (*Queries) GetActionByID ¶
func (*Queries) GetActiveActionsByFlowAndTriggerType ¶
func (*Queries) GetAuthNKeyByID ¶
func (*Queries) GetAuthNKeyPublicKeyByIDAndIdentifier ¶
func (*Queries) GetCustomLoginTexts ¶
func (*Queries) GetDefaultLanguage ¶
func (*Queries) GetDefaultLoginTexts ¶
func (*Queries) GetFlowTypesOfActionID ¶
func (*Queries) GetHumanEmail ¶
func (*Queries) GetHumanOTPSecret ¶
func (*Queries) GetHumanPassword ¶
func (*Queries) GetHumanPhone ¶
func (*Queries) GetHumanProfile ¶
func (*Queries) GetIAMMemberRoles ¶
func (*Queries) GetNotifyUser ¶
func (q *Queries) GetNotifyUser(ctx context.Context, shouldTriggered bool, queries ...SearchQuery) (*NotifyUser, error)
func (*Queries) GetNotifyUserByID ¶
func (q *Queries) GetNotifyUserByID(ctx context.Context, shouldTriggered bool, userID string, queries ...SearchQuery) (*NotifyUser, error)
func (*Queries) GetOIDCIDPClientSecret ¶
func (*Queries) GetOrgMemberRoles ¶
func (*Queries) GetOrgMetadataByKey ¶
func (q *Queries) GetOrgMetadataByKey(ctx context.Context, shouldTriggerBulk bool, orgID string, key string, queries ...SearchQuery) (*OrgMetadata, error)
func (*Queries) GetProjectGrantMemberRoles ¶
func (*Queries) GetProjectMemberRoles ¶
func (*Queries) GetUserByID ¶
func (*Queries) GetUserMetadataByKey ¶
func (q *Queries) GetUserMetadataByKey(ctx context.Context, shouldTriggerBulk bool, userID, key string, queries ...SearchQuery) (*UserMetadata, error)
func (*Queries) IAMLoginTexts ¶
func (*Queries) IAMMembers ¶
func (*Queries) IAMMessageTextByTypeAndLanguage ¶
func (*Queries) IDPByIDAndResourceOwner ¶
func (q *Queries) IDPByIDAndResourceOwner(ctx context.Context, shouldTriggerBulk bool, id, resourceOwner string) (*IDP, error)
IDPByIDAndResourceOwner searches for the requested id in the context of the resource owner and IAM
func (*Queries) IDPLoginPolicyLinks ¶
func (q *Queries) IDPLoginPolicyLinks(ctx context.Context, resourceOwner string, queries *IDPLoginPolicyLinksSearchQuery) (idps *IDPLoginPolicyLinks, err error)
func (*Queries) IDPUserLinks ¶
func (q *Queries) IDPUserLinks(ctx context.Context, queries *IDPUserLinksSearchQuery) (idps *IDPUserLinks, err error)
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) InstanceByHost ¶
func (*Queries) IsOrgUnique ¶
func (*Queries) IsUserUnique ¶
func (*Queries) LockoutPolicyByOrg ¶
func (*Queries) LoginPolicyByID ¶
func (*Queries) MailTemplateByOrg ¶
func (*Queries) Memberships ¶
func (q *Queries) Memberships(ctx context.Context, queries *MembershipSearchQuery) (*Memberships, error)
func (*Queries) MultiFactorsByOrg ¶
func (*Queries) MyZitadelPermissions ¶
func (*Queries) NotificationProviderByIDAndType ¶
func (q *Queries) NotificationProviderByIDAndType(ctx context.Context, aggID string, providerType domain.NotificationProviderType) (*DebugNotificationProvider, error)
func (*Queries) OIDCSettingsByAggID ¶
func (*Queries) OrgByPrimaryDomain ¶
func (*Queries) OrgByVerifiedDomain ¶
func (*Queries) OrgChanges ¶
func (*Queries) OrgMembers ¶
func (*Queries) PasswordAgePolicyByOrg ¶
func (*Queries) PasswordComplexityPolicyByOrg ¶
func (*Queries) PersonalAccessTokenByID ¶
func (q *Queries) PersonalAccessTokenByID(ctx context.Context, shouldTriggerBulk bool, id string, queries ...SearchQuery) (*PersonalAccessToken, error)
func (*Queries) PreviewLabelPolicyByOrg ¶
func (*Queries) PrivacyPolicyByOrg ¶
func (*Queries) ProjectByClientID ¶
func (*Queries) ProjectByID ¶
func (*Queries) ProjectByOIDCClientID ¶
func (*Queries) ProjectChanges ¶
func (*Queries) ProjectGrantByID ¶
func (*Queries) ProjectGrantByIDAndGrantedOrg ¶
func (*Queries) ProjectGrantChanges ¶
func (*Queries) ProjectGrantMembers ¶
func (*Queries) ProjectIDFromClientID ¶
func (*Queries) ProjectIDFromOIDCClientID ¶
func (*Queries) ProjectMembers ¶
func (*Queries) RemoveFailedEvent ¶
func (*Queries) SMSProviderConfig ¶
func (*Queries) SMSProviderConfigByID ¶
func (*Queries) SMTPConfigByAggregateID ¶
func (*Queries) SearchActions ¶
func (*Queries) SearchApps ¶
func (*Queries) SearchAuthNKeys ¶
func (*Queries) SearchAuthNKeysData ¶
func (q *Queries) SearchAuthNKeysData(ctx context.Context, queries *AuthNKeySearchQueries) (authNKeys *AuthNKeysData, err error)
func (*Queries) SearchClientIDs ¶
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) SearchInstanceDomainsGlobal ¶
func (q *Queries) SearchInstanceDomainsGlobal(ctx context.Context, queries *InstanceDomainSearchQueries) (domains *InstanceDomains, err error)
func (*Queries) SearchInstances ¶
func (*Queries) SearchOrgDomains ¶
func (*Queries) SearchOrgMetadata ¶
func (q *Queries) SearchOrgMetadata(ctx context.Context, shouldTriggerBulk bool, orgID string, queries *OrgMetadataSearchQueries) (*OrgMetadataList, error)
func (*Queries) SearchOrgs ¶
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 (*Queries) SearchProjectRoles ¶
func (q *Queries) SearchProjectRoles(ctx context.Context, shouldTriggerBulk bool, queries *ProjectRoleSearchQueries) (projects *ProjectRoles, err error)
func (*Queries) SearchProjects ¶
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, shouldTriggerBulk bool, userID string, queries *UserMetadataSearchQueries) (*UserMetadataList, error)
func (*Queries) SearchUsers ¶
func (*Queries) SecondFactorsByOrg ¶
func (*Queries) SecretGeneratorByType ¶
func (q *Queries) SecretGeneratorByType(ctx context.Context, generatorType domain.SecretGeneratorType) (*SecretGenerator, error)
func (*Queries) UserChanges ¶
func (*Queries) UserGrants ¶
func (q *Queries) UserGrants(ctx context.Context, queries *UserGrantsQueries) (*UserGrants, error)
type SMSConfigs ¶
type SMSConfigs struct { SearchResponse Configs []*SMSConfig }
type SMSConfigsSearchQueries ¶
type SMSConfigsSearchQueries struct { SearchRequest Queries []SearchQuery }
type SMTPConfig ¶
type SMTPConfigs ¶
type SMTPConfigs struct { SearchResponse SMTPConfigs []*SMTPConfig }
type SearchQuery ¶
type SearchQuery interface {
// contains filtered or unexported methods
}
func NewActionIDSearchQuery ¶
func NewActionIDSearchQuery(id string) (SearchQuery, error)
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 NewMembershipGrantedOrgIDSearchQuery ¶
func NewMembershipGrantedOrgIDSearchQuery(id 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 NewOrgMetadataKeySearchQuery ¶
func NewOrgMetadataKeySearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewOrgMetadataResourceOwnerSearchQuery ¶
func NewOrgMetadataResourceOwnerSearchQuery(value 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 NewSMSProviderStateQuery ¶
func NewSMSProviderStateQuery(state domain.SMSConfigState) (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 NewUserPhoneSearchQuery ¶
func NewUserPhoneSearchQuery(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)
func NewUserVerifiedEmailSearchQuery ¶
func NewUserVerifiedEmailSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserVerifiedPhoneSearchQuery ¶
func NewUserVerifiedPhoneSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
type SearchRequest ¶
type SearchResponse ¶
type SearchResponse struct { Count uint64 *LatestSequence }
type SecondFactors ¶
type SecondFactors struct { SearchResponse Factors database.EnumArray[domain.SecondFactorType] }
type SecretGenerator ¶
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 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 database.StringArray 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 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 }
Source Files ¶
- action.go
- action_flow.go
- app.go
- authn_key.go
- certificate.go
- changes.go
- current_sequence.go
- custom_text.go
- domain_policy.go
- failed_events.go
- iam_member.go
- idp.go
- idp_login_policy_link.go
- idp_user_link.go
- instance.go
- instance_domain.go
- key.go
- label_policy.go
- languages.go
- lockout_policy.go
- login_name.go
- login_policy.go
- mail_template.go
- member.go
- member_roles.go
- message_text.go
- notification_provider.go
- oidc_settings.go
- org.go
- org_domain.go
- org_member.go
- org_metadata.go
- password_age_policy.go
- password_complexity_policy.go
- privacy_policy.go
- project.go
- project_grant.go
- project_grant_member.go
- project_member.go
- project_role.go
- query.go
- search_query.go
- secret_generators.go
- sms.go
- smtp.go
- user.go
- user_auth_method.go
- user_grant.go
- user_membership.go
- user_metadata.go
- user_otp.go
- user_password.go
- user_personal_access_token.go
- zitadel_permission.go
Click to show internal directories.
Click to hide internal directories.