0
tim.lopez created
Hello,
I'm looking to modify when Authorization and Validation is done. Currently we are layering Permissions as part of an application, and we have a set of validations that touch the database and I'd like for permission checking to happen before we kick in the validation. Is this possible? I tried messing with the interceptors.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
3 Answer(s)
-
0
hi
I think you can add a middleware before or after
Authorizationto do some custom logic.https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-9.0
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)