// Copyright IBM Corp. 2020, 2026 // SPDX-License-Identifier: BUSL-1.1 package common import ( "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/alias" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/alias/target" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth/ldap" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth/oidc" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth/password" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/billing" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/credential" credstatic "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/credential/static" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/credential/vault" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/host" pluginhost "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/host/plugin" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/host/static" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/iam" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server" "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/session" pluginstorage "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/storage/plugin" ) type ( AuthTokenRepoFactory = oidc.AuthTokenRepoFactory VaultCredentialRepoFactory = func() (*vault.Repository, error) StaticCredentialRepoFactory = func() (*credstatic.Repository, error) CredentialStoreRepoFactory func() (*credential.StoreRepository, error) HostCatalogRepoFactory func() (*host.CatalogRepository, error) IamRepoFactory = iam.IamRepoFactory OidcAuthRepoFactory = oidc.OidcRepoFactory LdapAuthRepoFactory = ldap.RepoFactory PasswordAuthRepoFactory func() (*password.Repository, error) AuthMethodRepoFactory func() (*auth.AuthMethodRepository, error) ServersRepoFactory func() (*server.Repository, error) StaticRepoFactory func() (*static.Repository, error) PluginHostRepoFactory func() (*pluginhost.Repository, error) PluginRepoFactory func() (*plugin.Repository, error) ConnectionRepoFactory func() (*session.ConnectionRepository, error) WorkerAuthRepoStorageFactory func() (*server.WorkerAuthRepositoryStorage, error) PluginStorageBucketRepoFactory func() (*pluginstorage.Repository, error) BillingRepoFactory func() (*billing.Repository, error) AliasRepoFactory func() (*alias.Repository, error) TargetAliasRepoFactory func() (*target.Repository, error) )