2020-06-08 14:43:13 -07:00
|
|
|
package common
|
|
|
|
|
|
|
|
|
|
import (
|
2021-04-08 20:54:32 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/auth/oidc"
|
2020-08-10 17:15:02 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/auth/password"
|
2021-06-22 22:26:26 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/credential/vault"
|
2020-08-10 17:15:02 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/host/static"
|
|
|
|
|
"github.com/hashicorp/boundary/internal/iam"
|
2020-08-12 00:40:39 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/servers"
|
2020-09-19 00:18:17 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/session"
|
2020-09-01 15:05:46 -07:00
|
|
|
"github.com/hashicorp/boundary/internal/target"
|
2020-06-08 14:43:13 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type (
|
2021-06-22 22:26:26 -04:00
|
|
|
AuthTokenRepoFactory = oidc.AuthTokenRepoFactory
|
|
|
|
|
VaultCredentialRepoFactory = func() (*vault.Repository, error)
|
|
|
|
|
IamRepoFactory func() (*iam.Repository, error)
|
|
|
|
|
OidcAuthRepoFactory = oidc.OidcRepoFactory
|
|
|
|
|
PasswordAuthRepoFactory func() (*password.Repository, error)
|
|
|
|
|
ServersRepoFactory func() (*servers.Repository, error)
|
|
|
|
|
StaticRepoFactory func() (*static.Repository, error)
|
|
|
|
|
SessionRepoFactory func() (*session.Repository, error)
|
|
|
|
|
TargetRepoFactory func() (*target.Repository, error)
|
2020-06-08 14:43:13 -07:00
|
|
|
)
|