MCPcopy Create free account
hub / github.com/livekit/livekit / APIKeyAuthMiddleware

Struct APIKeyAuthMiddleware

pkg/service/auth.go:52–54  ·  view source on GitHub ↗

authentication middleware

Source from the content-addressed store, hash-verified

50
51// authentication middleware
52type APIKeyAuthMiddleware struct {
53 provider auth.KeyProvider
54}
55
56func NewAPIKeyAuthMiddleware(provider auth.KeyProvider) *APIKeyAuthMiddleware {
57 return &APIKeyAuthMiddleware{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected