mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4330] [MERGED] Fix ApiKey authentication #10028
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/4330
Author: @crobibero
Created: 10/15/2020
Status: ✅ Merged
Merged: 11/8/2020
Merged by: @cvium
Base:
master← Head:api-key-auth📝 Commits (6)
39924f9Allow apikey to authenticate as adminc037d35clean up authorization handlers4b68896Fix testsd5c226bMove SecurityException981f000Use proper IsApiKey flag8b83e4eFix tests📊 Changes
12 files changed (+124 additions, -78 deletions)
View changed files
📝
Emby.Server.Implementations/HttpServer/Security/AuthService.cs(+3 -3)📝
Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs(+64 -56)📝
Jellyfin.Api/Auth/BaseAuthorizationHandler.cs(+7 -0)📝
Jellyfin.Api/Auth/CustomAuthenticationHandler.cs(+6 -7)📝
Jellyfin.Api/Auth/DefaultAuthorizationPolicy/DefaultAuthorizationHandler.cs(+5 -3)📝
Jellyfin.Api/Auth/IgnoreParentalControlPolicy/IgnoreParentalControlHandler.cs(+5 -3)📝
Jellyfin.Api/Auth/LocalAccessPolicy/LocalAccessHandler.cs(+3 -3)📝
Jellyfin.Api/Constants/InternalClaimTypes.cs(+5 -0)📝
Jellyfin.Api/Helpers/ClaimHelpers.cs(+13 -0)📝
MediaBrowser.Controller/Net/AuthorizationInfo.cs(+11 -2)📝
tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs(+1 -0)📝
tests/Jellyfin.Api.Tests/TestHelpers.cs(+1 -1)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.