jellyfin/Emby.Server.Implementations/Library
Davide Polonio 5d760b7ee8 Fix emby/user/public API leaking private data
This commit fixes the emby/user/public API that was returning more data
than necessary. Now only the following information are returned:
- the account name
- the primary image tag
- the field hasPassword
- the field hasConfiguredPassword, useful for the first wizard only
(see
https://github.com/jellyfin/jellyfin/issues/880#issuecomment-465370051)
- the primary image aspect ratio

A new DTO class, PrivateUserDTO has been created, and the route has been
modified in order to return that data object.
2020-03-01 21:46:01 +01:00
..
Resolvers Minor improvements 2020-02-19 23:08:58 +01:00
Validators Apply suggestions from code review 2019-12-10 16:22:03 +01:00
CoreResolutionIgnoreRule.cs Fix more warnings 2019-11-27 16:29:56 +01:00
DefaultAuthenticationProvider.cs More warnings (removed) 2019-12-11 00:13:57 +01:00
DefaultPasswordResetProvider.cs Fix more warnings 2019-11-27 16:29:56 +01:00
ExclusiveLiveStream.cs More warnings (removed) 2019-12-11 00:13:57 +01:00
InvalidAuthProvider.cs Fix more warnings 2019-11-27 16:29:56 +01:00
LibraryManager.cs Merge pull request #2427 from Bond-009/minor 2020-02-23 10:48:47 +09:00
LiveStreamHelper.cs More warnings (removed) 2019-12-11 00:13:57 +01:00
MediaSourceManager.cs Merge pull request #2096 from Bond-009/embytv 2020-01-13 00:41:52 +09:00
MediaStreamSelector.cs More warnings (removed) 2019-12-11 00:13:57 +01:00
MusicManager.cs More warnings (removed) 2019-12-11 00:13:57 +01:00
PathExtensions.cs Fix more warnings 2019-11-27 16:29:56 +01:00
ResolverHelper.cs ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
SearchEngine.cs More warnings (removed) 2019-12-11 00:13:57 +01:00
UserDataManager.cs Merge branch 'master' into warn12 2019-12-20 19:43:57 +01:00
UserManager.cs Fix emby/user/public API leaking private data 2020-03-01 21:46:01 +01:00
UserViewManager.cs More warnings (removed) 2019-12-11 00:13:57 +01:00