add storage-auth-bearer

This commit is contained in:
A.Unger
2021-03-04 15:18:35 +01:00
parent 308467b134
commit 7e834c11d6
2 changed files with 43 additions and 1 deletions
+2 -1
View File
@@ -49,7 +49,7 @@ var (
"storage-userprovider", // done
"storage-groupprovider", // done
"storage-auth-basic", // done
"storage-auth-bearer",
"storage-auth-bearer", // done
"storage-home",
"storage-users",
"storage-public-link",
@@ -132,6 +132,7 @@ func (r *Runtime) Start() error {
addServiceToken("users", supervisor.Add(storage.NewUsersProviderService(globalCtx, r.c.Storage)))
addServiceToken("groupsprovider", supervisor.Add(storage.NewGroupsProvider(globalCtx, r.c.Storage))) // TODO(refs) panic? are we sending to a nil / closed channel?
addServiceToken("authbasic", supervisor.Add(storage.NewAuthBasic(globalCtx, r.c.Storage)))
addServiceToken("authbearer", supervisor.Add(storage.NewAuthBearer(globalCtx, r.c.Storage)))
// TODO(refs) debug line with supervised services.
go supervisor.ServeBackground()