aboutsummaryrefslogtreecommitdiff
path: root/server/auth/testprovider/testprovider.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/auth/testprovider/testprovider.go')
-rw-r--r--server/auth/testprovider/testprovider.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/auth/testprovider/testprovider.go b/server/auth/testprovider/testprovider.go
index 3d2b13a..e30b04a 100644
--- a/server/auth/testprovider/testprovider.go
+++ b/server/auth/testprovider/testprovider.go
@@ -15,8 +15,10 @@ const (
// Config is an implementation of `auth.Provider` for testing.
type Config struct{}
+var _ auth.Provider = (*Config)(nil)
+
// New creates a new provider.
-func New() auth.Provider {
+func New() *Config {
return &Config{}
}