Kavita/API/Extensions
Joseph Milazzo eb7e2781c1
Validate Download Claim (#971)
* Partially complete, got some code to validate your Role. Needs to be applied to all methods and made a filter.

* Cleaned up the code on the backend to validate each call. The reason the RequireDownloadRole doesn't work is that the user still has the claim in their token so the simple validation isn't working. We need explicit checks.

* Don't allow users to download files if they have lost the claim but not refreshed token.

* Don't allow users to download files if they have lost the claim but not refreshed token.
2022-01-20 07:46:59 -08:00
..
ApplicationServiceExtensions.cs Fixes v0.4.19! (#855) 2021-12-17 10:46:01 -08:00
ChapterListExtensions.cs EPUB Support (#178) 2021-04-28 16:16:22 -05:00
ClaimsPrincipalExtensions.cs Reduce Unauthenticated Errors in Sentry (#238) 2021-06-01 06:57:46 -05:00
ConfigurationExtensions.cs Implemented download log files (not in service). Refactored backupservice to handle log file splitting. Improved a few interfaces and added some unit tests around them. 2021-02-24 11:59:16 -06:00
DateTimeExtensions.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
EnumerableExtensions.cs Unit Tests & New Natural Sort (#941) 2022-01-15 07:39:34 -08:00
FileInfoExtensions.cs Reading Lists & More (#564) 2021-09-08 12:03:27 -05:00
FilterDtoExtensions.cs Tachiyomi Enhancements (#845) 2021-12-10 13:04:52 -08:00
HttpExtensions.cs .NET 6 Coding Patterns + Unit Tests (#823) 2021-12-05 08:58:53 -08:00
IdentityServiceExtensions.cs Validate Download Claim (#971) 2022-01-20 07:46:59 -08:00
ParserInfoListExtensions.cs Unit Tests & New Natural Sort (#941) 2022-01-15 07:39:34 -08:00
PathExtensions.cs Unit Tests & New Natural Sort (#941) 2022-01-15 07:39:34 -08:00
SeriesExtensions.cs Unit Tests & New Natural Sort (#941) 2022-01-15 07:39:34 -08:00
StringExtensions.cs Local Metadata Integration Part 1 (#817) 2021-12-02 09:02:34 -08:00
VolumeListExtensions.cs Unit Tests & New Natural Sort (#941) 2022-01-15 07:39:34 -08:00
ZipArchiveExtensions.cs Added a basic cache service to handle interations with the underlying cache implementation. Refactored some code to be more robust. 2021-01-09 16:14:28 -06:00