Tools for auth token interception and authentication (#152)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-07-07 12:14:26 -07:00
1 parent f69d6b9952
commit c44a4c4795
14 files changed
+445 -11

No files matched your search

+4 -2
View File
@@ -1,11 +1,13 @@
package common
import (
"github.com/hashicorp/watchtower/internal/authtoken"
"github.com/hashicorp/watchtower/internal/host/static"
"github.com/hashicorp/watchtower/internal/iam"
)
type (
IamRepoFactory func() (*iam.Repository, error)
StaticRepoFactory func() (*static.Repository, error)
IamRepoFactory func() (*iam.Repository, error)
StaticRepoFactory func() (*static.Repository, error)
AuthTokenRepoFactory func() (*authtoken.Repository, error)
)