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
- type APIApp
- type Action
- type ActionSearchQueries
- type Actions
- type App
- type AppSearchQueries
- type Apps
- type AuthMethod
- type AuthMethods
- type AuthNKey
- type AuthNKeySearchQueries
- type AuthNKeys
- type BoolQuery
- 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 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) 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 NumberComparison
- type NumberQuery
- type OIDCApp
- type OIDCIDP
- type OIDCSettings
- type Org
- type OrgDomainSearchQueries
- type OrgMembersQuery
- type OrgMembership
- 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) 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, projectID, appID 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) (*PasswordAgePolicy, error)
- func (q *Queries) DefaultPasswordComplexityPolicy(ctx context.Context) (*PasswordComplexityPolicy, error)
- func (q *Queries) DefaultPreviewLabelPolicy(ctx context.Context) (*LabelPolicy, error)
- func (q *Queries) DefaultPrivacyPolicy(ctx context.Context) (*PrivacyPolicy, error)
- func (q *Queries) DefaultSecondFactors(ctx context.Context) (*SecondFactors, error)
- func (q *Queries) DomainPolicyByOrg(ctx context.Context, orgID string) (*DomainPolicy, error)
- func (q *Queries) ExistsOrg(ctx context.Context, id string) (err error)
- func (q *Queries) ExistsProject(ctx context.Context, id string) (err error)
- func (q *Queries) ExistsProjectGrant(ctx context.Context, id string) (err error)
- func (q *Queries) ExistsProjectRole(ctx context.Context, projectID, key 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, 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) 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) GetOrgMemberRoles(isGlobal bool) []string
- func (q *Queries) GetProjectGrantMemberRoles() []string
- func (q *Queries) GetProjectMemberRoles(ctx context.Context) ([]string, error)
- func (q *Queries) GetUser(ctx context.Context, queries ...SearchQuery) (*User, error)
- func (q *Queries) GetUserByID(ctx context.Context, userID string, queries ...SearchQuery) (*User, error)
- func (q *Queries) GetUserMetadataByKey(ctx context.Context, userID, key string, queries ...SearchQuery) (*UserMetadata, 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, 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) (*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, orgID string) (*LockoutPolicy, error)
- func (q *Queries) LoginPolicyByID(ctx context.Context, 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) MessageTextByOrg(ctx context.Context, orgID string) (*MessageText, 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) OrgByDomainGlobal(ctx context.Context, domain string) (*Org, error)
- func (q *Queries) OrgByID(ctx context.Context, id 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, orgID string) (*PasswordAgePolicy, error)
- func (q *Queries) PasswordComplexityPolicyByOrg(ctx context.Context, orgID string) (*PasswordComplexityPolicy, error)
- func (q *Queries) PersonalAccessTokenByID(ctx context.Context, id string, queries ...SearchQuery) (*PersonalAccessToken, error)
- func (q *Queries) PreviewLabelPolicyByOrg(ctx context.Context, orgID string) (*LabelPolicy, error)
- func (q *Queries) PrivacyPolicyByOrg(ctx context.Context, orgID string) (*PrivacyPolicy, error)
- func (q *Queries) ProjectByID(ctx context.Context, 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, id string) (*ProjectGrant, error)
- func (q *Queries) ProjectGrantByIDAndGrantedOrg(ctx context.Context, id, grantedOrg string) (*ProjectGrant, 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) ProjectRoleByID(ctx context.Context, projectID, key string) (*ProjectRole, error)
- func (q *Queries) RemoveFailedEvent(ctx context.Context, projectionName string, sequence uint64) (err 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) 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) 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) 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, 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, userID string, queries *UserMetadataSearchQueries) (*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) UserAuthMethodByIDs(ctx context.Context, userID, tokenID, resourceOwner string, ...) (*AuthMethod, error)
- func (q *Queries) UserChanges(ctx context.Context, userID string, lastSequence uint64, limit uint64, ...) (*Changes, error)
- func (q *Queries) UserGrant(ctx context.Context, queries ...SearchQuery) (*UserGrant, error)
- func (q *Queries) UserGrants(ctx context.Context, queries *UserGrantsQueries) (*UserGrants, error)
- type SMSConfig
- type SMSConfigs
- type SMSConfigsSearchQueries
- type SMTPConfig
- type SMTPConfigs
- type SearchQuery
- 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 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 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 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 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)
- 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" )
Variables ¶
View Source
var ( ActionColumnID = Column{ // contains filtered or unexported fields } ActionColumnCreationDate = Column{ // contains filtered or unexported fields } ActionColumnChangeDate = Column{ // contains filtered or unexported fields } ActionColumnResourceOwner = Column{ // contains filtered or unexported fields } ActionColumnInstanceID = Column{ // contains filtered or unexported fields } ActionColumnSequence = Column{ // contains filtered or unexported fields } ActionColumnState = Column{ // contains filtered or unexported fields } ActionColumnName = Column{ // contains filtered or unexported fields } ActionColumnScript = Column{ // contains filtered or unexported fields } ActionColumnTimeout = Column{ // contains filtered or unexported fields } ActionColumnAllowedToFail = Column{ // contains filtered or unexported fields } )
View Source
var ( FlowsTriggersColumnFlowType = Column{ // contains filtered or unexported fields } FlowsTriggersColumnChangeDate = Column{ // contains filtered or unexported fields } FlowsTriggersColumnSequence = Column{ // contains filtered or unexported fields } FlowsTriggersColumnTriggerType = Column{ // contains filtered or unexported fields } FlowsTriggersColumnResourceOwner = Column{ // contains filtered or unexported fields } FlowsTriggersColumnInstanceID = Column{ // contains filtered or unexported fields } FlowsTriggersColumnTriggerSequence = Column{ // contains filtered or unexported fields } FlowsTriggersColumnActionID = Column{ // contains filtered or unexported fields } )
View Source
var ( AppColumnID = Column{ // contains filtered or unexported fields } AppColumnName = Column{ // contains filtered or unexported fields } AppColumnProjectID = Column{ // contains filtered or unexported fields } AppColumnCreationDate = Column{ // contains filtered or unexported fields } AppColumnChangeDate = Column{ // contains filtered or unexported fields } AppColumnResourceOwner = Column{ // contains filtered or unexported fields } AppColumnInstanceID = Column{ // contains filtered or unexported fields } AppColumnState = Column{ // contains filtered or unexported fields } AppColumnSequence = Column{ // contains filtered or unexported fields } )
View Source
var ( AppAPIConfigColumnAppID = Column{ // contains filtered or unexported fields } AppAPIConfigColumnClientID = Column{ // contains filtered or unexported fields } AppAPIConfigColumnAuthMethod = Column{ // contains filtered or unexported fields } )
View Source
var ( AppOIDCConfigColumnAppID = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnVersion = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnClientID = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnRedirectUris = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnResponseTypes = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnGrantTypes = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnApplicationType = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnAuthMethodType = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnPostLogoutRedirectUris = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnDevMode = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnAccessTokenType = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnAccessTokenRoleAssertion = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnIDTokenRoleAssertion = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnIDTokenUserinfoAssertion = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnClockSkew = Column{ // contains filtered or unexported fields } AppOIDCConfigColumnAdditionalOrigins = Column{ // contains filtered or unexported fields } )
View Source
var ( AuthNKeyColumnID = Column{ // contains filtered or unexported fields } AuthNKeyColumnCreationDate = Column{ // contains filtered or unexported fields } AuthNKeyColumnResourceOwner = Column{ // contains filtered or unexported fields } AuthNKeyColumnInstanceID = Column{ // contains filtered or unexported fields } AuthNKeyColumnAggregateID = Column{ // contains filtered or unexported fields } AuthNKeyColumnSequence = Column{ // contains filtered or unexported fields } AuthNKeyColumnObjectID = Column{ // contains filtered or unexported fields } AuthNKeyColumnExpiration = Column{ // contains filtered or unexported fields } AuthNKeyColumnIdentifier = Column{ // contains filtered or unexported fields } AuthNKeyColumnPublicKey = Column{ // contains filtered or unexported fields } AuthNKeyColumnType = Column{ // contains filtered or unexported fields } AuthNKeyColumnEnabled = Column{ // contains filtered or unexported fields } )
View Source
var ( CurrentSequenceColAggregateType = Column{ // contains filtered or unexported fields } CurrentSequenceColCurrentSequence = Column{ // contains filtered or unexported fields } CurrentSequenceColTimestamp = Column{ // contains filtered or unexported fields } CurrentSequenceColProjectionName = Column{ // contains filtered or unexported fields } CurrentSequenceColInstanceID = Column{ // contains filtered or unexported fields } )
View Source
var ( LocksColLockerID = Column{ // contains filtered or unexported fields } LocksColUntil = Column{ // contains filtered or unexported fields } LocksColProjectionName = Column{ // contains filtered or unexported fields } )
View Source
var ( CustomTextColAggregateID = Column{ // contains filtered or unexported fields } CustomTextColInstanceID = Column{ // contains filtered or unexported fields } CustomTextColSequence = Column{ // contains filtered or unexported fields } CustomTextColCreationDate = Column{ // contains filtered or unexported fields } CustomTextColChangeDate = Column{ // contains filtered or unexported fields } CustomTextColTemplate = Column{ // contains filtered or unexported fields } CustomTextColLanguage = Column{ // contains filtered or unexported fields } CustomTextColKey = Column{ // contains filtered or unexported fields } CustomTextColText = Column{ // contains filtered or unexported fields } )
View Source
var ( FailedEventsColumnProjectionName = Column{ // contains filtered or unexported fields } FailedEventsColumnFailedSequence = Column{ // contains filtered or unexported fields } FailedEventsColumnFailureCount = Column{ // contains filtered or unexported fields } FailedEventsColumnError = Column{ // contains filtered or unexported fields } FailedEventsColumnInstanceID = Column{ // contains filtered or unexported fields } )
View Source
var ( InstanceMemberUserID = Column{ // contains filtered or unexported fields } InstanceMemberRoles = Column{ // contains filtered or unexported fields } InstanceMemberCreationDate = Column{ // contains filtered or unexported fields } InstanceMemberChangeDate = Column{ // contains filtered or unexported fields } InstanceMemberSequence = Column{ // contains filtered or unexported fields } InstanceMemberResourceOwner = Column{ // contains filtered or unexported fields } InstanceMemberInstanceID = Column{ // contains filtered or unexported fields } InstanceMemberIAMID = Column{ // contains filtered or unexported fields } )
View Source
var ( IDPIDCol = Column{ // contains filtered or unexported fields } IDPCreationDateCol = Column{ // contains filtered or unexported fields } IDPChangeDateCol = Column{ // contains filtered or unexported fields } IDPSequenceCol = Column{ // contains filtered or unexported fields } IDPResourceOwnerCol = Column{ // contains filtered or unexported fields } IDPInstanceIDCol = Column{ // contains filtered or unexported fields } IDPStateCol = Column{ // contains filtered or unexported fields } IDPNameCol = Column{ // contains filtered or unexported fields } IDPStylingTypeCol = Column{ // contains filtered or unexported fields } IDPOwnerTypeCol = Column{ // contains filtered or unexported fields } IDPAutoRegisterCol = Column{ // contains filtered or unexported fields } IDPTypeCol = Column{ // contains filtered or unexported fields } )
View Source
var ( OIDCIDPColIDPID = Column{ // contains filtered or unexported fields } OIDCIDPColClientID = Column{ // contains filtered or unexported fields } OIDCIDPColClientSecret = Column{ // contains filtered or unexported fields } OIDCIDPColIssuer = Column{ // contains filtered or unexported fields } OIDCIDPColScopes = Column{ // contains filtered or unexported fields } OIDCIDPColDisplayNameMapping = Column{ // contains filtered or unexported fields } OIDCIDPColUsernameMapping = Column{ // contains filtered or unexported fields } OIDCIDPColAuthorizationEndpoint = Column{ // contains filtered or unexported fields } OIDCIDPColTokenEndpoint = Column{ // contains filtered or unexported fields } )
View Source
var ( JWTIDPColIDPID = Column{ // contains filtered or unexported fields } JWTIDPColIssuer = Column{ // contains filtered or unexported fields } JWTIDPColKeysEndpoint = Column{ // contains filtered or unexported fields } JWTIDPColHeaderName = Column{ // contains filtered or unexported fields } JWTIDPColEndpoint = Column{ // contains filtered or unexported fields } )
View Source
var ( IDPLoginPolicyLinkIDPIDCol = Column{ // contains filtered or unexported fields } IDPLoginPolicyLinkCreationDateCol = Column{ // contains filtered or unexported fields } IDPLoginPolicyLinkChangeDateCol = Column{ // contains filtered or unexported fields } IDPLoginPolicyLinkSequenceCol = Column{ // contains filtered or unexported fields } IDPLoginPolicyLinkResourceOwnerCol = Column{ // contains filtered or unexported fields } IDPLoginPolicyLinkInstanceIDCol = Column{ // contains filtered or unexported fields } IDPLoginPolicyLinkProviderTypeCol = Column{ // contains filtered or unexported fields } )
View Source
var ( IDPUserLinkIDPIDCol = Column{ // contains filtered or unexported fields } IDPUserLinkUserIDCol = Column{ // contains filtered or unexported fields } IDPUserLinkExternalUserIDCol = Column{ // contains filtered or unexported fields } IDPUserLinkCreationDateCol = Column{ // contains filtered or unexported fields } IDPUserLinkChangeDateCol = Column{ // contains filtered or unexported fields } IDPUserLinkSequenceCol = Column{ // contains filtered or unexported fields } IDPUserLinkResourceOwnerCol = Column{ // contains filtered or unexported fields } IDPUserLinkInstanceIDCol = Column{ // contains filtered or unexported fields } IDPUserLinkDisplayNameCol = Column{ // contains filtered or unexported fields } )
View Source
var ( InstanceColumnID = Column{ // contains filtered or unexported fields } InstanceColumnName = Column{ // contains filtered or unexported fields } InstanceColumnCreationDate = Column{ // contains filtered or unexported fields } InstanceColumnChangeDate = Column{ // contains filtered or unexported fields } InstanceColumnSequence = Column{ // contains filtered or unexported fields } InstanceColumnGlobalOrgID = Column{ // contains filtered or unexported fields } InstanceColumnProjectID = Column{ // contains filtered or unexported fields } InstanceColumnConsoleID = Column{ // contains filtered or unexported fields } InstanceColumnConsoleAppID = Column{ // contains filtered or unexported fields } InstanceColumnSetupStarted = Column{ // contains filtered or unexported fields } InstanceColumnSetupDone = Column{ // contains filtered or unexported fields } InstanceColumnDefaultLanguage = Column{ // contains filtered or unexported fields } )
View Source
var ( InstanceDomainCreationDateCol = Column{ // contains filtered or unexported fields } InstanceDomainChangeDateCol = Column{ // contains filtered or unexported fields } InstanceDomainSequenceCol = Column{ // contains filtered or unexported fields } InstanceDomainDomainCol = Column{ // contains filtered or unexported fields } InstanceDomainInstanceIDCol = Column{ // contains filtered or unexported fields } InstanceDomainIsGeneratedCol = Column{ // contains filtered or unexported fields } InstanceDomainIsPrimaryCol = Column{ // contains filtered or unexported fields } )
View Source
var ( KeyColID = Column{ // contains filtered or unexported fields } KeyColCreationDate = Column{ // contains filtered or unexported fields } KeyColChangeDate = Column{ // contains filtered or unexported fields } KeyColResourceOwner = Column{ // contains filtered or unexported fields } KeyColInstanceID = Column{ // contains filtered or unexported fields } KeyColSequence = Column{ // contains filtered or unexported fields } KeyColAlgorithm = Column{ // contains filtered or unexported fields } KeyColUse = Column{ // contains filtered or unexported fields } )
View Source
var ( KeyPrivateColID = Column{ // contains filtered or unexported fields } KeyPrivateColExpiry = Column{ // contains filtered or unexported fields } KeyPrivateColKey = Column{ // contains filtered or unexported fields } )
View Source
var ( KeyPublicColID = Column{ // contains filtered or unexported fields } KeyPublicColExpiry = Column{ // contains filtered or unexported fields } KeyPublicColKey = Column{ // contains filtered or unexported fields } )
View Source
var ( LabelPolicyColCreationDate = Column{ // contains filtered or unexported fields } LabelPolicyColChangeDate = Column{ // contains filtered or unexported fields } LabelPolicyColSequence = Column{ // contains filtered or unexported fields } LabelPolicyColID = Column{ // contains filtered or unexported fields } LabelPolicyColState = Column{ // contains filtered or unexported fields } LabelPolicyColIsDefault = Column{ // contains filtered or unexported fields } LabelPolicyColResourceOwner = Column{ // contains filtered or unexported fields } LabelPolicyColInstanceID = Column{ // contains filtered or unexported fields } LabelPolicyColHideLoginNameSuffix = Column{ // contains filtered or unexported fields } LabelPolicyColFontURL = Column{ // contains filtered or unexported fields } LabelPolicyColWatermarkDisabled = Column{ // contains filtered or unexported fields } LabelPolicyColShouldErrorPopup = Column{ // contains filtered or unexported fields } LabelPolicyColLightPrimaryColor = Column{ // contains filtered or unexported fields } LabelPolicyColLightWarnColor = Column{ // contains filtered or unexported fields } LabelPolicyColLightBackgroundColor = Column{ // contains filtered or unexported fields } LabelPolicyColLightFontColor = Column{ // contains filtered or unexported fields } LabelPolicyColLightLogoURL = Column{ // contains filtered or unexported fields } LabelPolicyColLightIconURL = Column{ // contains filtered or unexported fields } LabelPolicyColDarkPrimaryColor = Column{ // contains filtered or unexported fields } LabelPolicyColDarkWarnColor = Column{ // contains filtered or unexported fields } LabelPolicyColDarkBackgroundColor = Column{ // contains filtered or unexported fields } LabelPolicyColDarkFontColor = Column{ // contains filtered or unexported fields } LabelPolicyColDarkLogoURL = Column{ // contains filtered or unexported fields } LabelPolicyColDarkIconURL = Column{ // contains filtered or unexported fields } )
View Source
var ( LockoutColID = Column{ // contains filtered or unexported fields } LockoutColInstanceID = Column{ // contains filtered or unexported fields } LockoutColSequence = Column{ // contains filtered or unexported fields } LockoutColCreationDate = Column{ // contains filtered or unexported fields } LockoutColChangeDate = Column{ // contains filtered or unexported fields } LockoutColResourceOwner = Column{ // contains filtered or unexported fields } LockoutColShowFailures = Column{ // contains filtered or unexported fields } LockoutColMaxPasswordAttempts = Column{ // contains filtered or unexported fields } LockoutColIsDefault = Column{ // contains filtered or unexported fields } LockoutColState = Column{ // contains filtered or unexported fields } )
View Source
var ( LoginNameUserIDCol = Column{ // contains filtered or unexported fields } LoginNameNameCol = Column{ // contains filtered or unexported fields } LoginNameIsPrimaryCol = Column{ // contains filtered or unexported fields } LoginNameInstanceIDCol = Column{ // contains filtered or unexported fields } )
View Source
var ( LoginPolicyColumnOrgID = Column{ // contains filtered or unexported fields } LoginPolicyColumnInstanceID = Column{ // contains filtered or unexported fields } LoginPolicyColumnCreationDate = Column{ // contains filtered or unexported fields } LoginPolicyColumnChangeDate = Column{ // contains filtered or unexported fields } LoginPolicyColumnSequence = Column{ // contains filtered or unexported fields } LoginPolicyColumnAllowRegister = Column{ // contains filtered or unexported fields } LoginPolicyColumnAllowUsernamePassword = Column{ // contains filtered or unexported fields } LoginPolicyColumnAllowExternalIDPs = Column{ // contains filtered or unexported fields } LoginPolicyColumnForceMFA = Column{ // contains filtered or unexported fields } LoginPolicyColumnSecondFactors = Column{ // contains filtered or unexported fields } LoginPolicyColumnMultiFactors = Column{ // contains filtered or unexported fields } LoginPolicyColumnPasswordlessType = Column{ // contains filtered or unexported fields } LoginPolicyColumnIsDefault = Column{ // contains filtered or unexported fields } LoginPolicyColumnHidePasswordReset = Column{ // contains filtered or unexported fields } LoginPolicyColumnPasswordCheckLifetime = Column{ // contains filtered or unexported fields } LoginPolicyColumnExternalLoginCheckLifetime = Column{ // contains filtered or unexported fields } LoginPolicyColumnMFAInitSkipLifetime = Column{ // contains filtered or unexported fields } LoginPolicyColumnSecondFactorCheckLifetime = Column{ // contains filtered or unexported fields } LoginPolicyColumnMultiFacotrCheckLifetime = Column{ // contains filtered or unexported fields } )
View Source
var ( MailTemplateColAggregateID = Column{ // contains filtered or unexported fields } MailTemplateColInstanceID = Column{ // contains filtered or unexported fields } MailTemplateColSequence = Column{ // contains filtered or unexported fields } MailTemplateColCreationDate = Column{ // contains filtered or unexported fields } MailTemplateColChangeDate = Column{ // contains filtered or unexported fields } MailTemplateColTemplate = Column{ // contains filtered or unexported fields } MailTemplateColIsDefault = Column{ // contains filtered or unexported fields } MailTemplateColState = Column{ // contains filtered or unexported fields } )
View Source
var ( MessageTextColAggregateID = Column{ // contains filtered or unexported fields } MessageTextColInstanceID = Column{ // contains filtered or unexported fields } MessageTextColSequence = Column{ // contains filtered or unexported fields } MessageTextColCreationDate = Column{ // contains filtered or unexported fields } MessageTextColChangeDate = Column{ // contains filtered or unexported fields } MessageTextColState = Column{ // contains filtered or unexported fields } MessageTextColType = Column{ // contains filtered or unexported fields } MessageTextColLanguage = Column{ // contains filtered or unexported fields } MessageTextColTitle = Column{ // contains filtered or unexported fields } MessageTextColPreHeader = Column{ // contains filtered or unexported fields } MessageTextColSubject = Column{ // contains filtered or unexported fields } MessageTextColGreeting = Column{ // contains filtered or unexported fields } MessageTextColText = Column{ // contains filtered or unexported fields } MessageTextColButtonText = Column{ // contains filtered or unexported fields } // contains filtered or unexported fields } )
View Source
var ( NotificationProviderColumnAggID = Column{ // contains filtered or unexported fields } NotificationProviderColumnCreationDate = Column{ // contains filtered or unexported fields } NotificationProviderColumnChangeDate = Column{ // contains filtered or unexported fields } NotificationProviderColumnSequence = Column{ // contains filtered or unexported fields } NotificationProviderColumnResourceOwner = Column{ // contains filtered or unexported fields } NotificationProviderColumnInstanceID = Column{ // contains filtered or unexported fields } NotificationProviderColumnState = Column{ // contains filtered or unexported fields } NotificationProviderColumnType = Column{ // contains filtered or unexported fields } NotificationProviderColumnCompact = Column{ // contains filtered or unexported fields } )
View Source
var ( OIDCSettingsColumnAggregateID = Column{ // contains filtered or unexported fields } OIDCSettingsColumnCreationDate = Column{ // contains filtered or unexported fields } OIDCSettingsColumnChangeDate = Column{ // contains filtered or unexported fields } OIDCSettingsColumnResourceOwner = Column{ // contains filtered or unexported fields } OIDCSettingsColumnInstanceID = Column{ // contains filtered or unexported fields } OIDCSettingsColumnSequence = Column{ // contains filtered or unexported fields } OIDCSettingsColumnAccessTokenLifetime = Column{ // contains filtered or unexported fields } OIDCSettingsColumnIdTokenLifetime = Column{ // contains filtered or unexported fields } OIDCSettingsColumnRefreshTokenIdleExpiration = Column{ // contains filtered or unexported fields } OIDCSettingsColumnRefreshTokenExpiration = Column{ // contains filtered or unexported fields } )
View Source
var ( OrgColumnID = Column{ // contains filtered or unexported fields } OrgColumnCreationDate = Column{ // contains filtered or unexported fields } OrgColumnChangeDate = Column{ // contains filtered or unexported fields } OrgColumnResourceOwner = Column{ // contains filtered or unexported fields } OrgColumnInstanceID = Column{ // contains filtered or unexported fields } OrgColumnState = Column{ // contains filtered or unexported fields } OrgColumnSequence = Column{ // contains filtered or unexported fields } OrgColumnName = Column{ // contains filtered or unexported fields } OrgColumnDomain = Column{ // contains filtered or unexported fields } )
View Source
var ( OrgDomainCreationDateCol = Column{ // contains filtered or unexported fields } OrgDomainChangeDateCol = Column{ // contains filtered or unexported fields } OrgDomainSequenceCol = Column{ // contains filtered or unexported fields } OrgDomainDomainCol = Column{ // contains filtered or unexported fields } OrgDomainOrgIDCol = Column{ // contains filtered or unexported fields } OrgDomainInstanceIDCol = Column{ // contains filtered or unexported fields } OrgDomainIsVerifiedCol = Column{ // contains filtered or unexported fields } OrgDomainIsPrimaryCol = Column{ // contains filtered or unexported fields } OrgDomainValidationTypeCol = Column{ // contains filtered or unexported fields } )
View Source
var ( DomainPolicyColID = Column{ // contains filtered or unexported fields } DomainPolicyColSequence = Column{ // contains filtered or unexported fields } DomainPolicyColCreationDate = Column{ // contains filtered or unexported fields } DomainPolicyColChangeDate = Column{ // contains filtered or unexported fields } DomainPolicyColResourceOwner = Column{ // contains filtered or unexported fields } DomainPolicyColInstanceID = Column{ // contains filtered or unexported fields } DomainPolicyColUserLoginMustBeDomain = Column{ // contains filtered or unexported fields } DomainPolicyColValidateOrgDomains = Column{ // contains filtered or unexported fields } DomainPolicyColIsDefault = Column{ // contains filtered or unexported fields } DomainPolicyColState = Column{ // contains filtered or unexported fields } )
View Source
var ( OrgMemberUserID = Column{ // contains filtered or unexported fields } OrgMemberRoles = Column{ // contains filtered or unexported fields } OrgMemberCreationDate = Column{ // contains filtered or unexported fields } OrgMemberChangeDate = Column{ // contains filtered or unexported fields } OrgMemberSequence = Column{ // contains filtered or unexported fields } OrgMemberResourceOwner = Column{ // contains filtered or unexported fields } OrgMemberInstanceID = Column{ // contains filtered or unexported fields } OrgMemberOrgID = Column{ // contains filtered or unexported fields } )
View Source
var ( PasswordAgeColID = Column{ // contains filtered or unexported fields } PasswordAgeColSequence = Column{ // contains filtered or unexported fields } PasswordAgeColCreationDate = Column{ // contains filtered or unexported fields } PasswordAgeColChangeDate = Column{ // contains filtered or unexported fields } PasswordAgeColResourceOwner = Column{ // contains filtered or unexported fields } PasswordAgeColInstanceID = Column{ // contains filtered or unexported fields } PasswordAgeColWarnDays = Column{ // contains filtered or unexported fields } PasswordAgeColMaxAge = Column{ // contains filtered or unexported fields } PasswordAgeColIsDefault = Column{ // contains filtered or unexported fields } PasswordAgeColState = Column{ // contains filtered or unexported fields } )
View Source
var ( PasswordComplexityColID = Column{ // contains filtered or unexported fields } PasswordComplexityColSequence = Column{ // contains filtered or unexported fields } PasswordComplexityColCreationDate = Column{ // contains filtered or unexported fields } PasswordComplexityColChangeDate = Column{ // contains filtered or unexported fields } PasswordComplexityColResourceOwner = Column{ // contains filtered or unexported fields } PasswordComplexityColInstanceID = Column{ // contains filtered or unexported fields } PasswordComplexityColMinLength = Column{ // contains filtered or unexported fields } PasswordComplexityColHasLowercase = Column{ // contains filtered or unexported fields } PasswordComplexityColHasUpperCase = Column{ // contains filtered or unexported fields } PasswordComplexityColHasNumber = Column{ // contains filtered or unexported fields } PasswordComplexityColHasSymbol = Column{ // contains filtered or unexported fields } PasswordComplexityColIsDefault = Column{ // contains filtered or unexported fields } PasswordComplexityColState = Column{ // contains filtered or unexported fields } )
View Source
var ( PrivacyColID = Column{ // contains filtered or unexported fields } PrivacyColSequence = Column{ // contains filtered or unexported fields } PrivacyColCreationDate = Column{ // contains filtered or unexported fields } PrivacyColChangeDate = Column{ // contains filtered or unexported fields } PrivacyColResourceOwner = Column{ // contains filtered or unexported fields } PrivacyColInstanceID = Column{ // contains filtered or unexported fields } PrivacyColPrivacyLink = Column{ // contains filtered or unexported fields } PrivacyColTOSLink = Column{ // contains filtered or unexported fields } PrivacyColHelpLink = Column{ // contains filtered or unexported fields } PrivacyColIsDefault = Column{ // contains filtered or unexported fields } PrivacyColState = Column{ // contains filtered or unexported fields } )
View Source
var ( ProjectColumnID = Column{ // contains filtered or unexported fields } ProjectColumnName = Column{ // contains filtered or unexported fields } ProjectColumnProjectRoleAssertion = Column{ // contains filtered or unexported fields } ProjectColumnProjectRoleCheck = Column{ // contains filtered or unexported fields } ProjectColumnHasProjectCheck = Column{ // contains filtered or unexported fields } ProjectColumnPrivateLabelingSetting = Column{ // contains filtered or unexported fields } ProjectColumnCreationDate = Column{ // contains filtered or unexported fields } ProjectColumnChangeDate = Column{ // contains filtered or unexported fields } ProjectColumnResourceOwner = Column{ // contains filtered or unexported fields } ProjectColumnInstanceID = Column{ // contains filtered or unexported fields } ProjectColumnCreator = Column{ // contains filtered or unexported fields } ProjectColumnSequence = Column{ // contains filtered or unexported fields } ProjectColumnState = Column{ // contains filtered or unexported fields } )
View Source
var ( ProjectGrantColumnCreationDate = Column{ // contains filtered or unexported fields } ProjectGrantColumnChangeDate = Column{ // contains filtered or unexported fields } ProjectGrantColumnResourceOwner = Column{ // contains filtered or unexported fields } ProjectGrantColumnInstanceID = Column{ // contains filtered or unexported fields } ProjectGrantColumnState = Column{ // contains filtered or unexported fields } ProjectGrantColumnSequence = Column{ // contains filtered or unexported fields } ProjectGrantColumnProjectID = Column{ // contains filtered or unexported fields } ProjectGrantColumnGrantedOrgID = Column{ // contains filtered or unexported fields } ProjectGrantColumnGrantID = Column{ // contains filtered or unexported fields } ProjectGrantColumnGrantedRoleKeys = Column{ // contains filtered or unexported fields } ProjectGrantColumnCreator = Column{ // contains filtered or unexported fields } ProjectGrantColumnGrantedOrgName = Column{ // contains filtered or unexported fields } ProjectGrantColumnResourceOwnerName = Column{ // contains filtered or unexported fields } )
View Source
var ( ProjectGrantMemberUserID = Column{ // contains filtered or unexported fields } ProjectGrantMemberRoles = Column{ // contains filtered or unexported fields } ProjectGrantMemberCreationDate = Column{ // contains filtered or unexported fields } ProjectGrantMemberChangeDate = Column{ // contains filtered or unexported fields } ProjectGrantMemberSequence = Column{ // contains filtered or unexported fields } ProjectGrantMemberResourceOwner = Column{ // contains filtered or unexported fields } ProjectGrantMemberInstanceID = Column{ // contains filtered or unexported fields } ProjectGrantMemberProjectID = Column{ // contains filtered or unexported fields } ProjectGrantMemberGrantID = Column{ // contains filtered or unexported fields } )
View Source
var ( ProjectMemberUserID = Column{ // contains filtered or unexported fields } ProjectMemberRoles = Column{ // contains filtered or unexported fields } ProjectMemberCreationDate = Column{ // contains filtered or unexported fields } ProjectMemberChangeDate = Column{ // contains filtered or unexported fields } ProjectMemberSequence = Column{ // contains filtered or unexported fields } ProjectMemberResourceOwner = Column{ // contains filtered or unexported fields } ProjectMemberInstanceID = Column{ // contains filtered or unexported fields } ProjectMemberProjectID = Column{ // contains filtered or unexported fields } )
View Source
var ( ProjectRoleColumnCreationDate = Column{ // contains filtered or unexported fields } ProjectRoleColumnChangeDate = Column{ // contains filtered or unexported fields } ProjectRoleColumnResourceOwner = Column{ // contains filtered or unexported fields } ProjectRoleColumnInstanceID = Column{ // contains filtered or unexported fields } ProjectRoleColumnSequence = Column{ // contains filtered or unexported fields } ProjectRoleColumnProjectID = Column{ // contains filtered or unexported fields } ProjectRoleColumnKey = Column{ // contains filtered or unexported fields } ProjectRoleColumnDisplayName = Column{ // contains filtered or unexported fields } ProjectRoleColumnGroupName = Column{ // contains filtered or unexported fields } ProjectRoleColumnCreator = Column{ // contains filtered or unexported fields } )
View Source
var ( ErrInvalidCompare = errors.New("invalid compare") ErrMissingColumn = errors.New("missing column") ErrInvalidNumber = errors.New("value is no number") )
View Source
var ( SecretGeneratorColumnAggregateID = Column{ // contains filtered or unexported fields } SecretGeneratorColumnInstanceID = Column{ // contains filtered or unexported fields } SecretGeneratorColumnGeneratorType = Column{ // contains filtered or unexported fields } SecretGeneratorColumnCreationDate = Column{ // contains filtered or unexported fields } SecretGeneratorColumnChangeDate = Column{ // contains filtered or unexported fields } SecretGeneratorColumnResourceOwner = Column{ // contains filtered or unexported fields } SecretGeneratorColumnSequence = Column{ // contains filtered or unexported fields } SecretGeneratorColumnLength = Column{ // contains filtered or unexported fields } SecretGeneratorColumnExpiry = Column{ // contains filtered or unexported fields } SecretGeneratorColumnIncludeLowerLetters = Column{ // contains filtered or unexported fields } SecretGeneratorColumnIncludeUpperLetters = Column{ // contains filtered or unexported fields } SecretGeneratorColumnIncludeDigits = Column{ // contains filtered or unexported fields } SecretGeneratorColumnIncludeSymbols = Column{ // contains filtered or unexported fields } )
View Source
var ( SMSConfigColumnID = Column{ // contains filtered or unexported fields } SMSConfigColumnAggregateID = Column{ // contains filtered or unexported fields } SMSConfigColumnCreationDate = Column{ // contains filtered or unexported fields } SMSConfigColumnChangeDate = Column{ // contains filtered or unexported fields } SMSConfigColumnResourceOwner = Column{ // contains filtered or unexported fields } SMSConfigColumnInstanceID = Column{ // contains filtered or unexported fields } SMSConfigColumnState = Column{ // contains filtered or unexported fields } SMSConfigColumnSequence = Column{ // contains filtered or unexported fields } )
View Source
var ( SMSTwilioConfigColumnSMSID = Column{ // contains filtered or unexported fields } SMSTwilioConfigColumnSID = Column{ // contains filtered or unexported fields } SMSTwilioConfigColumnToken = Column{ // contains filtered or unexported fields } SMSTwilioConfigColumnSenderNumber = Column{ // contains filtered or unexported fields } )
View Source
var ( SMTPConfigColumnAggregateID = Column{ // contains filtered or unexported fields } SMTPConfigColumnCreationDate = Column{ // contains filtered or unexported fields } SMTPConfigColumnChangeDate = Column{ // contains filtered or unexported fields } SMTPConfigColumnResourceOwner = Column{ // contains filtered or unexported fields } SMTPConfigColumnInstanceID = Column{ // contains filtered or unexported fields } SMTPConfigColumnSequence = Column{ // contains filtered or unexported fields } SMTPConfigColumnTLS = Column{ // contains filtered or unexported fields } SMTPConfigColumnSenderAddress = Column{ // contains filtered or unexported fields } SMTPConfigColumnSenderName = Column{ // contains filtered or unexported fields } SMTPConfigColumnSMTPHost = Column{ // contains filtered or unexported fields } SMTPConfigColumnSMTPUser = Column{ // contains filtered or unexported fields } SMTPConfigColumnSMTPPassword = Column{ // contains filtered or unexported fields } )
View Source
var ( UserIDCol = Column{ // contains filtered or unexported fields } UserCreationDateCol = Column{ // contains filtered or unexported fields } UserChangeDateCol = Column{ // contains filtered or unexported fields } UserResourceOwnerCol = Column{ // contains filtered or unexported fields } UserInstanceIDCol = Column{ // contains filtered or unexported fields } UserStateCol = Column{ // contains filtered or unexported fields } UserSequenceCol = Column{ // contains filtered or unexported fields } UserUsernameCol = Column{ // contains filtered or unexported fields } UserTypeCol = Column{ // contains filtered or unexported fields } )
View Source
var ( // profile HumanUserIDCol = Column{ // contains filtered or unexported fields } HumanFirstNameCol = Column{ // contains filtered or unexported fields } HumanLastNameCol = Column{ // contains filtered or unexported fields } HumanNickNameCol = Column{ // contains filtered or unexported fields } HumanDisplayNameCol = Column{ // contains filtered or unexported fields } HumanPreferredLanguageCol = Column{ // contains filtered or unexported fields } HumanGenderCol = Column{ // contains filtered or unexported fields } HumanAvatarURLCol = Column{ // contains filtered or unexported fields } // email HumanEmailCol = Column{ // contains filtered or unexported fields } HumanIsEmailVerifiedCol = Column{ // contains filtered or unexported fields } // phone HumanPhoneCol = Column{ // contains filtered or unexported fields } HumanIsPhoneVerifiedCol = Column{ // contains filtered or unexported fields } )
View Source
var ( MachineUserIDCol = Column{ // contains filtered or unexported fields } MachineNameCol = Column{ // contains filtered or unexported fields } MachineDescriptionCol = Column{ // contains filtered or unexported fields } )
View Source
var ( UserAuthMethodColumnTokenID = Column{ // contains filtered or unexported fields } UserAuthMethodColumnCreationDate = Column{ // contains filtered or unexported fields } UserAuthMethodColumnChangeDate = Column{ // contains filtered or unexported fields } UserAuthMethodColumnResourceOwner = Column{ // contains filtered or unexported fields } UserAuthMethodColumnInstanceID = Column{ // contains filtered or unexported fields } UserAuthMethodColumnUserID = Column{ // contains filtered or unexported fields } UserAuthMethodColumnSequence = Column{ // contains filtered or unexported fields } UserAuthMethodColumnName = Column{ // contains filtered or unexported fields } UserAuthMethodColumnState = Column{ // contains filtered or unexported fields } UserAuthMethodColumnMethodType = Column{ // contains filtered or unexported fields } )
View Source
var ( UserGrantID = Column{ // contains filtered or unexported fields } UserGrantResourceOwner = Column{ // contains filtered or unexported fields } UserGrantInstanceID = Column{ // contains filtered or unexported fields } UserGrantCreationDate = Column{ // contains filtered or unexported fields } UserGrantChangeDate = Column{ // contains filtered or unexported fields } UserGrantSequence = Column{ // contains filtered or unexported fields } UserGrantUserID = Column{ // contains filtered or unexported fields } UserGrantProjectID = Column{ // contains filtered or unexported fields } UserGrantGrantID = Column{ // contains filtered or unexported fields } UserGrantRoles = Column{ // contains filtered or unexported fields } UserGrantState = Column{ // contains filtered or unexported fields } )
View Source
var ( UserMetadataUserIDCol = Column{ // contains filtered or unexported fields } UserMetadataCreationDateCol = Column{ // contains filtered or unexported fields } UserMetadataChangeDateCol = Column{ // contains filtered or unexported fields } UserMetadataResourceOwnerCol = Column{ // contains filtered or unexported fields } UserMetadataInstanceIDCol = Column{ // contains filtered or unexported fields } UserMetadataSequenceCol = Column{ // contains filtered or unexported fields } UserMetadataKeyCol = Column{ // contains filtered or unexported fields } UserMetadataValueCol = Column{ // contains filtered or unexported fields } )
View Source
var ( PersonalAccessTokenColumnID = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnUserID = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnExpiration = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnScopes = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnCreationDate = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnChangeDate = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnResourceOwner = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnInstanceID = Column{ // contains filtered or unexported fields } PersonalAccessTokenColumnSequence = Column{ // contains filtered or unexported fields } )
Functions ¶
func CustomTextToDomain ¶
func CustomTextToDomain(text *CustomText) *domain.CustomText
func CustomTextsToDomain ¶
func CustomTextsToDomain(texts *CustomTexts) []*domain.CustomText
func CustomTextsToLoginDomain ¶
func CustomTextsToLoginDomain(instanceID, aggregateID, lang string, texts *CustomTexts) *domain.CustomLoginText
Types ¶
type APIApp ¶
type APIApp struct { ClientID string AuthMethodType domain.APIAuthMethodType }
type 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 AuthNKeySearchQueries ¶
type AuthNKeySearchQueries struct { SearchRequest Queries []SearchQuery }
type AuthNKeys ¶
type AuthNKeys struct { SearchResponse AuthNKeys []*AuthNKey }
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 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 GlobalOrgID string IAMProjectID string ConsoleID string ConsoleAppID string DefaultLang language.Tag SetupStarted domain.Step SetupDone domain.Step Domains []*InstanceDomain // contains filtered or unexported fields }
func (*Instance) ConsoleApplicationID ¶
func (*Instance) ConsoleClientID ¶
func (*Instance) DefaultLanguage ¶
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 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 []domain.SecondFactorType MultiFactors []domain.MultiFactorType PasswordlessType domain.PasswordlessType IsDefault bool HidePasswordReset bool PasswordCheckLifetime time.Duration ExternalLoginCheckLifetime time.Duration MFAInitSkipLifetime time.Duration SecondFactorCheckLifetime time.Duration MultiFactorCheckLifetime time.Duration }
type 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 []string CreationDate time.Time ChangeDate time.Time Sequence uint64 ResourceOwner string Org *OrgMembership IAM *IAMMembership Project *ProjectMembership ProjectGrant *ProjectGrantMembership }
type MembershipSearchQuery ¶
type MembershipSearchQuery struct { SearchRequest Queries []SearchQuery }
type Memberships ¶
type Memberships struct { SearchResponse Memberships []*Membership }
type MessageText ¶
type MessageTexts ¶
type MessageTexts struct { InitCode MessageText PasswordReset MessageText VerifyEmail MessageText VerifyPhone MessageText DomainClaimed MessageText PasswordlessRegistration MessageText }
func (*MessageTexts) GetMessageTextByType ¶
func (m *MessageTexts) GetMessageTextByType(msgType string) *MessageText
type MultiFactors ¶
type MultiFactors struct { SearchResponse Factors []domain.MultiFactorType }
type NotNullQuery ¶
type NotNullQuery struct {
Column Column
}
func NewNotNullQuery ¶
func NewNotNullQuery(col Column) (*NotNullQuery, error)
type NumberComparison ¶
type NumberComparison int
const ( NumberEquals NumberComparison = iota NumberNotEquals NumberLess NumberGreater NumberListContains )
func NumberComparisonFromMethod
deprecated
func NumberComparisonFromMethod(m domain.SearchMethod) NumberComparison
Deprecated: Use NumberComparison, will be removed as soon as all calls are changed to query
type NumberQuery ¶
type NumberQuery struct { Column Column Number interface{} Compare NumberComparison }
func NewNumberQuery ¶
func NewNumberQuery(c Column, value interface{}, compare NumberComparison) (*NumberQuery, error)
type OIDCApp ¶
type OIDCApp struct { RedirectURIs []string ResponseTypes []domain.OIDCResponseType GrantTypes []domain.OIDCGrantType AppType domain.OIDCApplicationType ClientID string AuthMethodType domain.OIDCAuthMethodType PostLogoutRedirectURIs []string Version domain.OIDCVersion ComplianceProblems []string IsDevMode bool AccessTokenType domain.OIDCTokenType AssertAccessTokenRole bool AssertIDTokenRole bool AssertIDTokenUserinfo bool ClockSkew time.Duration AdditionalOrigins []string AllowedOrigins []string }
type OIDCIDP ¶
type OIDCIDP struct { IDPID string ClientID string ClientSecret *crypto.CryptoValue Issuer string Scopes []string DisplayNameMapping domain.OIDCMappingField UsernameMapping domain.OIDCMappingField AuthorizationEndpoint string TokenEndpoint string }
type OIDCSettings ¶
type OrgDomainSearchQueries ¶
type OrgDomainSearchQueries struct { SearchRequest Queries []SearchQuery }
type OrgMembersQuery ¶
type OrgMembersQuery struct { MembersQuery OrgID string }
type OrgMembership ¶
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, keyEncryptionAlgorithm crypto.EncryptionAlgorithm, zitadelRoles []authz.RoleMapping) (repo *Queries, err error)
func (*Queries) ActiveLabelPolicyByOrg ¶
func (*Queries) ActivePrivateSigningKey ¶
func (*Queries) ActivePublicKeys ¶
func (*Queries) AppByClientID ¶
func (*Queries) AppByOIDCClientID ¶
func (*Queries) AppByProjectAndAppID ¶
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 (q *Queries) DefaultPasswordAgePolicy(ctx context.Context) (*PasswordAgePolicy, error)
func (*Queries) DefaultPasswordComplexityPolicy ¶
func (q *Queries) DefaultPasswordComplexityPolicy(ctx context.Context) (*PasswordComplexityPolicy, error)
func (*Queries) DefaultPreviewLabelPolicy ¶
func (q *Queries) DefaultPreviewLabelPolicy(ctx context.Context) (*LabelPolicy, error)
func (*Queries) DefaultPrivacyPolicy ¶
func (q *Queries) DefaultPrivacyPolicy(ctx context.Context) (*PrivacyPolicy, error)
func (*Queries) DefaultSecondFactors ¶
func (q *Queries) DefaultSecondFactors(ctx context.Context) (*SecondFactors, error)
func (*Queries) DomainPolicyByOrg ¶
func (*Queries) ExistsProject ¶
func (*Queries) ExistsProjectGrant ¶
func (*Queries) ExistsProjectRole ¶
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) GetHumanPhone ¶
func (*Queries) GetHumanProfile ¶
func (*Queries) GetIAMMemberRoles ¶
func (*Queries) GetOrgMemberRoles ¶
func (*Queries) GetProjectGrantMemberRoles ¶
func (*Queries) GetProjectMemberRoles ¶
func (*Queries) GetUserByID ¶
func (*Queries) GetUserMetadataByKey ¶
func (q *Queries) GetUserMetadataByKey(ctx context.Context, 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, 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) MessageTextByOrg ¶
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) OrgByDomainGlobal ¶
func (*Queries) OrgChanges ¶
func (*Queries) OrgMembers ¶
func (*Queries) PasswordAgePolicyByOrg ¶
func (*Queries) PasswordComplexityPolicyByOrg ¶
func (*Queries) PersonalAccessTokenByID ¶
func (q *Queries) PersonalAccessTokenByID(ctx context.Context, id string, queries ...SearchQuery) (*PersonalAccessToken, error)
func (*Queries) PreviewLabelPolicyByOrg ¶
func (*Queries) PrivacyPolicyByOrg ¶
func (*Queries) ProjectByID ¶
func (*Queries) ProjectByOIDCClientID ¶
func (*Queries) ProjectChanges ¶
func (*Queries) ProjectGrantByID ¶
func (*Queries) ProjectGrantByIDAndGrantedOrg ¶
func (*Queries) ProjectGrantMembers ¶
func (*Queries) ProjectIDFromClientID ¶
func (*Queries) ProjectIDFromOIDCClientID ¶
func (*Queries) ProjectMembers ¶
func (*Queries) ProjectRoleByID ¶
func (*Queries) RemoveFailedEvent ¶
func (*Queries) SMSProviderConfigByID ¶
func (*Queries) SMTPConfigByAggregateID ¶
func (*Queries) SearchActions ¶
func (*Queries) SearchApps ¶
func (*Queries) SearchAuthNKeys ¶
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) SearchInstances ¶
func (*Queries) SearchOrgDomains ¶
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, 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, 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) UserAuthMethodByIDs ¶
func (q *Queries) UserAuthMethodByIDs(ctx context.Context, userID, tokenID, resourceOwner string, methodType domain.UserAuthMethodType) (*AuthMethod, 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 NewActionNameSearchQuery ¶
func NewActionNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewActionResourceOwnerQuery ¶
func NewActionResourceOwnerQuery(id string) (SearchQuery, error)
func NewActionStateSearchQuery ¶
func NewActionStateSearchQuery(value domain.ActionState) (SearchQuery, error)
func NewAppNameSearchQuery ¶
func NewAppNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewAppProjectIDSearchQuery ¶
func NewAppProjectIDSearchQuery(id string) (SearchQuery, error)
func NewAuthNKeyAggregateIDQuery ¶
func NewAuthNKeyAggregateIDQuery(id string) (SearchQuery, error)
func NewAuthNKeyObjectIDQuery ¶
func NewAuthNKeyObjectIDQuery(id string) (SearchQuery, error)
func NewAuthNKeyResourceOwnerQuery ¶
func NewAuthNKeyResourceOwnerQuery(id string) (SearchQuery, error)
func NewFailedEventProjectionNameSearchQuery ¶
func NewFailedEventProjectionNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewIDPIDSearchQuery ¶
func NewIDPIDSearchQuery(id string) (SearchQuery, error)
func NewIDPNameSearchQuery ¶
func NewIDPNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewIDPOwnerTypeSearchQuery ¶
func NewIDPOwnerTypeSearchQuery(ownerType domain.IdentityProviderType) (SearchQuery, error)
func NewIDPResourceOwnerListSearchQuery ¶
func NewIDPResourceOwnerListSearchQuery(ids ...string) (SearchQuery, error)
func NewIDPResourceOwnerSearchQuery ¶
func NewIDPResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewIDPUserLinkIDPIDSearchQuery ¶
func NewIDPUserLinkIDPIDSearchQuery(value string) (SearchQuery, error)
func NewIDPUserLinksResourceOwnerSearchQuery ¶
func NewIDPUserLinksResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewIDPUserLinksUserIDSearchQuery ¶
func NewIDPUserLinksUserIDSearchQuery(value string) (SearchQuery, error)
func NewInstanceDomainDomainSearchQuery ¶
func NewInstanceDomainDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewInstanceDomainGeneratedSearchQuery ¶
func NewInstanceDomainGeneratedSearchQuery(generated bool) (SearchQuery, error)
func NewInstanceDomainInstanceIDSearchQuery ¶
func NewInstanceDomainInstanceIDSearchQuery(value string) (SearchQuery, error)
func NewInstanceDomainPrimarySearchQuery ¶
func NewInstanceDomainPrimarySearchQuery(primary bool) (SearchQuery, error)
func NewInstanceIDsListSearchQuery ¶
func NewInstanceIDsListSearchQuery(ids ...string) (SearchQuery, error)
func NewMemberEmailSearchQuery ¶
func NewMemberEmailSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewMemberFirstNameSearchQuery ¶
func NewMemberFirstNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewMemberLastNameSearchQuery ¶
func NewMemberLastNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewMemberResourceOwnerSearchQuery ¶
func NewMemberResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewMemberUserIDSearchQuery ¶
func NewMemberUserIDSearchQuery(value string) (SearchQuery, error)
func NewMembershipIsIAMQuery ¶
func NewMembershipIsIAMQuery() (SearchQuery, error)
func NewMembershipOrgIDQuery ¶
func NewMembershipOrgIDQuery(value string) (SearchQuery, error)
func NewMembershipProjectGrantIDQuery ¶
func NewMembershipProjectGrantIDQuery(value string) (SearchQuery, error)
func NewMembershipProjectIDQuery ¶
func NewMembershipProjectIDQuery(value string) (SearchQuery, error)
func NewMembershipResourceOwnerQuery ¶
func NewMembershipResourceOwnerQuery(value string) (SearchQuery, error)
func NewMembershipResourceOwnersSearchQuery ¶
func NewMembershipResourceOwnersSearchQuery(ids ...string) (SearchQuery, error)
func NewMembershipUserIDQuery ¶
func NewMembershipUserIDQuery(userID string) (SearchQuery, error)
func NewOrgDomainDomainSearchQuery ¶
func NewOrgDomainDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewOrgDomainOrgIDSearchQuery ¶
func NewOrgDomainOrgIDSearchQuery(value string) (SearchQuery, error)
func NewOrgDomainSearchQuery ¶
func NewOrgDomainSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewOrgDomainVerifiedSearchQuery ¶
func NewOrgDomainVerifiedSearchQuery(verified bool) (SearchQuery, error)
func NewOrgIDsSearchQuery ¶
func NewOrgIDsSearchQuery(ids ...string) (SearchQuery, error)
func NewOrgNameSearchQuery ¶
func NewOrgNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewPersonalAccessTokenResourceOwnerSearchQuery ¶
func NewPersonalAccessTokenResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewPersonalAccessTokenUserIDSearchQuery ¶
func NewPersonalAccessTokenUserIDSearchQuery(value string) (SearchQuery, error)
func NewProjectGrantGrantedOrgIDSearchQuery ¶
func NewProjectGrantGrantedOrgIDSearchQuery(value string) (SearchQuery, error)
func NewProjectGrantIDsSearchQuery ¶
func NewProjectGrantIDsSearchQuery(values []string) (SearchQuery, error)
func NewProjectGrantProjectIDSearchQuery ¶
func NewProjectGrantProjectIDSearchQuery(value string) (SearchQuery, error)
func NewProjectGrantProjectNameSearchQuery ¶
func NewProjectGrantProjectNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewProjectGrantResourceOwnerSearchQuery ¶
func NewProjectGrantResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewProjectGrantRoleKeySearchQuery ¶
func NewProjectGrantRoleKeySearchQuery(value string) (SearchQuery, error)
func NewProjectIDSearchQuery ¶
func NewProjectIDSearchQuery(ids []string) (SearchQuery, error)
func NewProjectNameSearchQuery ¶
func NewProjectNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewProjectResourceOwnerSearchQuery ¶
func NewProjectResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewProjectRoleDisplayNameSearchQuery ¶
func NewProjectRoleDisplayNameSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewProjectRoleGroupSearchQuery ¶
func NewProjectRoleGroupSearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewProjectRoleKeySearchQuery ¶
func NewProjectRoleKeySearchQuery(method TextComparison, value string) (SearchQuery, error)
func NewProjectRoleKeysSearchQuery ¶
func NewProjectRoleKeysSearchQuery(values []string) (SearchQuery, error)
func NewProjectRoleProjectIDSearchQuery ¶
func NewProjectRoleProjectIDSearchQuery(value string) (SearchQuery, error)
func NewProjectRoleResourceOwnerSearchQuery ¶
func NewProjectRoleResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewSecretGeneratorTypeSearchQuery ¶
func NewSecretGeneratorTypeSearchQuery(value int32) (SearchQuery, error)
func NewUserAuthMethodResourceOwnerSearchQuery ¶
func NewUserAuthMethodResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewUserAuthMethodStateSearchQuery ¶
func NewUserAuthMethodStateSearchQuery(value domain.MFAState) (SearchQuery, error)
func NewUserAuthMethodTokenIDSearchQuery ¶
func NewUserAuthMethodTokenIDSearchQuery(value string) (SearchQuery, error)
func NewUserAuthMethodTypeSearchQuery ¶
func NewUserAuthMethodTypeSearchQuery(value domain.UserAuthMethodType) (SearchQuery, error)
func NewUserAuthMethodTypesSearchQuery ¶
func NewUserAuthMethodTypesSearchQuery(values ...domain.UserAuthMethodType) (SearchQuery, error)
func NewUserAuthMethodUserIDSearchQuery ¶
func NewUserAuthMethodUserIDSearchQuery(value string) (SearchQuery, error)
func NewUserDisplayNameSearchQuery ¶
func NewUserDisplayNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserEmailSearchQuery ¶
func NewUserEmailSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserFirstNameSearchQuery ¶
func NewUserFirstNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserGrantContainsRolesSearchQuery ¶
func NewUserGrantContainsRolesSearchQuery(roles ...string) (SearchQuery, error)
func NewUserGrantDisplayNameQuery ¶
func NewUserGrantDisplayNameQuery(displayName string, method TextComparison) (SearchQuery, error)
func NewUserGrantDomainQuery ¶
func NewUserGrantDomainQuery(value string, method TextComparison) (SearchQuery, error)
func NewUserGrantEmailQuery ¶
func NewUserGrantEmailQuery(email string, method TextComparison) (SearchQuery, error)
func NewUserGrantFirstNameQuery ¶
func NewUserGrantFirstNameQuery(value string, method TextComparison) (SearchQuery, error)
func NewUserGrantGrantIDSearchQuery ¶
func NewUserGrantGrantIDSearchQuery(id string) (SearchQuery, error)
func NewUserGrantLastNameQuery ¶
func NewUserGrantLastNameQuery(value string, method TextComparison) (SearchQuery, error)
func NewUserGrantOrgNameQuery ¶
func NewUserGrantOrgNameQuery(value string, method TextComparison) (SearchQuery, error)
func NewUserGrantProjectIDSearchQuery ¶
func NewUserGrantProjectIDSearchQuery(id string) (SearchQuery, error)
func NewUserGrantProjectNameQuery ¶
func NewUserGrantProjectNameQuery(value string, method TextComparison) (SearchQuery, error)
func NewUserGrantProjectOwnerSearchQuery ¶
func NewUserGrantProjectOwnerSearchQuery(id string) (SearchQuery, error)
func NewUserGrantResourceOwnerSearchQuery ¶
func NewUserGrantResourceOwnerSearchQuery(id string) (SearchQuery, error)
func NewUserGrantRoleQuery ¶
func NewUserGrantRoleQuery(value string) (SearchQuery, error)
func NewUserGrantUserIDSearchQuery ¶
func NewUserGrantUserIDSearchQuery(id string) (SearchQuery, error)
func NewUserGrantUserTypeQuery ¶
func NewUserGrantUserTypeQuery(typ domain.UserType) (SearchQuery, error)
func NewUserGrantUsernameQuery ¶
func NewUserGrantUsernameQuery(value string, method TextComparison) (SearchQuery, error)
func NewUserGrantWithGrantedQuery ¶
func NewUserGrantWithGrantedQuery(owner string) (SearchQuery, error)
func NewUserLastNameSearchQuery ¶
func NewUserLastNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserLoginNamesSearchQuery ¶
func NewUserLoginNamesSearchQuery(value string) (SearchQuery, error)
func NewUserMetadataKeySearchQuery ¶
func NewUserMetadataKeySearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserMetadataResourceOwnerSearchQuery ¶
func NewUserMetadataResourceOwnerSearchQuery(value string) (SearchQuery, error)
func NewUserNickNameSearchQuery ¶
func NewUserNickNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserPreferredLoginNameSearchQuery ¶
func NewUserPreferredLoginNameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserResourceOwnerSearchQuery ¶
func NewUserResourceOwnerSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
func NewUserStateSearchQuery ¶
func NewUserStateSearchQuery(value int32) (SearchQuery, error)
func NewUserTypeSearchQuery ¶
func NewUserTypeSearchQuery(value int32) (SearchQuery, error)
func NewUserUsernameSearchQuery ¶
func NewUserUsernameSearchQuery(value string, comparison TextComparison) (SearchQuery, error)
type SearchRequest ¶
type SearchResponse ¶
type SearchResponse struct { Count uint64 *LatestSequence }
type SecondFactors ¶
type SecondFactors struct { SearchResponse Factors []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 []string GrantID string State domain.UserGrantState UserID string Username string UserType domain.UserType UserResourceOwner string FirstName string LastName string Email string DisplayName string AvatarURL string PreferredLoginName string ResourceOwner string OrgName string OrgPrimaryDomain string ProjectID string ProjectName string }
type UserGrants ¶
type UserGrants struct { SearchResponse UserGrants []*UserGrant }
type UserGrantsQueries ¶
type UserGrantsQueries struct { SearchRequest Queries []SearchQuery }
type UserMetadata ¶
type 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
- changes.go
- current_sequence.go
- custom_text.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_iam_policy.go
- org_member.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_personal_access_token.go
- zitadel_permission.go
Click to show internal directories.
Click to hide internal directories.