Xabaril / Esquio

Esquio is a Feature Toggle Library for .NET Developers.
Apache License 2.0
429 stars 49 forks source link

IsInRole support for RoleNameToggle #100

Closed lurumad closed 4 years ago

lurumad commented 4 years ago

What this PR does / why we need it:

This PR modify the RoleNameToggle in order to decide if the user belongs to a role using User.IsInRole method instead look for a claim and reduce the complexity because the user doesn't care about the RoleType (No configuration needed).

Please make sure you've completed the relevant tasks for this PR, out of the following list: