Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: server/auth/auth_test.go

Issue 2873113002: auth: Remove "shared" aka "global" secrets. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/gaeauth/server/db.go ('k') | server/auth/authdb/db.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/auth/auth_test.go
diff --git a/server/auth/auth_test.go b/server/auth/auth_test.go
index 09d6b49269a81b7b0c3182925ff6ac0bf4b1be97..493edc75e137b89865ddf083ea6876ee771bb2f4 100644
--- a/server/auth/auth_test.go
+++ b/server/auth/auth_test.go
@@ -14,7 +14,6 @@ import (
"golang.org/x/net/context"
"github.com/luci/luci-go/server/router"
- "github.com/luci/luci-go/server/secrets"
"github.com/luci/luci-go/server/auth/authdb"
"github.com/luci/luci-go/server/auth/identity"
@@ -250,10 +249,6 @@ func (db *fakeDB) IsMember(c context.Context, id identity.Identity, groups ...st
return len(groups) != 0, nil
}
-func (db *fakeDB) SharedSecrets(c context.Context) (secrets.Store, error) {
- return nil, errors.New("fakeDB: SharedSecrets is not implemented")
-}
-
func (db *fakeDB) GetCertificates(c context.Context, id identity.Identity) (*signing.PublicCertificates, error) {
return nil, errors.New("fakeDB: GetCertificates is not implemented")
}
« no previous file with comments | « appengine/gaeauth/server/db.go ('k') | server/auth/authdb/db.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698