ODataAuthorization: A library for Securing OData Endpoints #1404
Unanswered
bytefish
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have recently updated ODataAuthorization, which is a library for authorizing OData requests:
You basically set the Read / Update / Delete Restrictions on the EntitySets in your
IEdmModel
:And then you can add Authorization to the ASP.NET Core OData Endpoints like this:
It is based on the WebApiAuthorization library by Microsoft.
You can find a complete example here:
Beta Was this translation helpful? Give feedback.
All reactions