1
0
Commit Graph

11 Commits

Author SHA1 Message Date
ca76966827 Optimizing async tasks (ConfigureAwait(false)) 2023-11-03 10:59:45 +01:00
28377a89eb Added new middleware to protect paths by authorization (also static files) 2023-06-27 11:05:00 +02:00
371283e653 Changed behaviour of remote ip address detection, renamed ip allow/block lists 2023-06-01 20:01:19 +02:00
d233bf6b0a Fixing UnitTests 2022-08-07 20:57:11 +02:00
a26d6a0036 Moved all UnitTests to a single project. Implemented parts of AspNetCore UnitTests. 2022-07-17 12:21:05 +02:00
8754e40c91 BasicAuthenticationAttribute now respects the IBasicAuthenticationValidator.Realm when the own Realm property is not set. IBasicAuthenticationValidator.Realm is now a read-only property (removed public set). 2022-07-04 19:30:40 +02:00
bfe500dfa1 BasicAuthentication attribute and TimeSpan.ToShortString()
- BasicAuthenticationAttribute sets the HttpContext.User property when successfully validated.
- Moved BasicAuthenticationAttribute from ActionFilter to IAsyncAuthorizationFilter.
- TimeSpan.ToShortString() is now capable of negative values.
2022-06-23 22:51:16 +02:00
97c3c303ce - Fixed BasicAuthenticationAttribute.
- All attributes now reside in Microsoft.AspNetCore.Mvc.Filters namespace.
2022-06-22 23:47:47 +02:00
33c2b9336f - Fixed problem with ForbidResult without having an authentication schema defined.
Now only HTTP Status 403 (Forbid) is returned.
- BasicAuthenticationAttribute is now in namespace AMWD.Common.AspNetCore.Attributes.
2022-06-22 22:53:34 +02:00
65bca0a922 Added White-/Blacklist Attributes, DateOnly/TimeOnly converters, TcpClientMoq 2022-06-15 19:48:47 +02:00
ca9de13c9e Refactoring 2021-10-22 21:12:32 +02:00