Appears to be irritatingly missing. So I did https://github.com/chrisfcarroll/RequireClaimAttributeAspNetCore
2 thoughts on “[RequireClaim()] Attribute for Claims-based Authorization Asp.Net Core”
Comments are closed.
Coffee | Coding | Computers | Church | What does it all mean?
Appears to be irritatingly missing. So I did https://github.com/chrisfcarroll/RequireClaimAttributeAspNetCore
Comments are closed.
Back around 2013 I discovered that the RoleAttribute does indeed match against claims. Unfortunately I don’t recall if it was MVC or Web API I had done my research and testing with (and it may have been OWIN). I’d suspect that behavior has continued to the present.