mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4443] [MERGED] Remove OriginalAuthenticationInfo and add IsAuthenticated property #10077
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/4443
Author: @cvium
Created: 11/8/2020
Status: ✅ Merged
Merged: 11/8/2020
Merged by: @Bond-009
Base:
master← Head:fix_auth_again_again_again📝 Commits (1)
e78c63cRemove OriginalAuthenticationInfo and add IsAuthenticated property📊 Changes
5 files changed (+24 additions, -18 deletions)
View changed files
📝
Emby.Server.Implementations/HttpServer/Security/AuthService.cs(+3 -2)📝
Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs(+12 -13)📝
Jellyfin.Api/Auth/CustomAuthenticationHandler.cs(+1 -1)📝
MediaBrowser.Controller/Net/AuthorizationInfo.cs(+5 -0)📝
tests/Jellyfin.Api.Tests/Auth/CustomAuthenticationHandlerTests.cs(+3 -2)📄 Description
OriginalAuthenticationInfo was unused as far as I can tell. Using token or user to check if the token is authenticated is rubbish, so I added IsAuthenticated to the auth info class.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.