diff --git a/clientapi/auth/auth.go b/clientapi/auth/auth.go index ea25cbc1d..ef1d733e4 100644 --- a/clientapi/auth/auth.go +++ b/clientapi/auth/auth.go @@ -25,7 +25,6 @@ import ( "github.com/matrix-org/dendrite/clientapi/auth/authtypes" "github.com/matrix-org/dendrite/clientapi/jsonerror" - "github.com/matrix-org/dendrite/internal/config" "github.com/matrix-org/dendrite/userapi/api" "github.com/matrix-org/util" ) @@ -46,14 +45,6 @@ type AccountDatabase interface { GetAccountByLocalpart(ctx context.Context, localpart string) (*authtypes.Account, error) } -// Data contains information required to authenticate a request. -type Data struct { - AccountDB AccountDatabase - DeviceDB DeviceDatabase - // AppServices is the list of all registered AS - AppServices []config.ApplicationService -} - // VerifyUserFromRequest authenticates the HTTP request, // on success returns Device of the requester. // Finds local user or an application service user. diff --git a/dendrite-config.yaml b/dendrite-config.yaml index a5b295977..52793cda4 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -140,6 +140,7 @@ listen: edu_server: "localhost:7778" key_server: "localhost:7779" server_key_api: "localhost:7780" + user_api: "localhost:7781" # The configuration for tracing the dendrite components. tracing: