Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com> Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com> Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>
23 lines
856 B
Go
23 lines
856 B
Go
package common
|
|
|
|
import (
|
|
"github.com/hashicorp/boundary/internal/auth/oidc"
|
|
"github.com/hashicorp/boundary/internal/auth/password"
|
|
"github.com/hashicorp/boundary/internal/host/static"
|
|
"github.com/hashicorp/boundary/internal/iam"
|
|
"github.com/hashicorp/boundary/internal/servers"
|
|
"github.com/hashicorp/boundary/internal/session"
|
|
"github.com/hashicorp/boundary/internal/target"
|
|
)
|
|
|
|
type (
|
|
AuthTokenRepoFactory = oidc.AuthTokenRepoFactory
|
|
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)
|
|
)
|