jellyfin-server/MediaBrowser.Model/Dto
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
..
BaseItemDto.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
BaseItemPerson.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
IHasServerId.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
IItemDto.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
ImageByNameInfo.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
ImageInfo.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
ImageOptions.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
ItemCounts.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
ItemIndex.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
MediaSourceInfo.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
MediaSourceType.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
MetadataEditorInfo.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
NameIdPair.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
NameValuePair.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
PublicUserDto.cs Fix emby/user/public API leaking private data 2020-03-01 21:46:01 +01:00
RatingType.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
RecommendationDto.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
RecommendationType.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
UserDto.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00
UserItemDataDto.cs Fix warnings MediaBrowser.Model 2020-02-04 01:49:27 +01:00