mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #7080] [MERGED] Allow ApiKey query parameter for authentication #11261
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/7080
Author: @crobibero
Created: 1/1/2022
Status: ✅ Merged
Merged: 1/4/2022
Merged by: @crobibero
Base:
master← Head:ws-token📝 Commits (1)
0765fd5Use IAuthorizationContext for websocket📊 Changes
7 files changed (+32 additions, -43 deletions)
View changed files
📝
Emby.Server.Implementations/HttpServer/WebSocketConnection.cs(+1 -10)📝
Emby.Server.Implementations/HttpServer/WebSocketManager.cs(+3 -3)📝
Emby.Server.Implementations/Session/SessionWebSocketListener.cs(+19 -18)📝
MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs(+2 -1)📝
MediaBrowser.Controller/Net/IWebSocketConnection.cs(+0 -6)📝
MediaBrowser.Controller/Net/IWebSocketListener.cs(+3 -1)📝
tests/Jellyfin.Server.Implementations.Tests/HttpServer/WebSocketConnectionTests.cs(+4 -4)📄 Description
Changes
Adds the ability to use
ApiKeyinstead ofapi_keyto authenticate when connecting the websocket.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.