JWT token based auth
This commit is contained in:
+2
-1
@@ -5,12 +5,13 @@ package main
|
||||
import (
|
||||
"github.com/google/wire"
|
||||
|
||||
"github.com/livekit/livekit-server/pkg/auth"
|
||||
"github.com/livekit/livekit-server/pkg/config"
|
||||
"github.com/livekit/livekit-server/pkg/node"
|
||||
"github.com/livekit/livekit-server/pkg/service"
|
||||
)
|
||||
|
||||
func InitializeServer(conf *config.Config) (*LivekitServer, error) {
|
||||
func InitializeServer(conf *config.Config, keyProvider auth.KeyProvider) (*LivekitServer, error) {
|
||||
wire.Build(
|
||||
NewLivekitServer,
|
||||
node.NodeSet,
|
||||
|
||||
Reference in New Issue
Block a user