tugberkugurlu / AspNet.Identity.RavenDB

Fully asynchronous, new and sweet ASP.NET Identity implementation for RavenDB
MIT License
42 stars 28 forks source link

Identity store should support IUserRoleStore #32

Open petedavis opened 10 years ago

petedavis commented 10 years ago

This project is pitching itself as a provider for supporting AspNet Identity 2.0 for Raven DB. Therefore it should be more comprehensive and support IUserRoleStore. I dont think it should tell people to write their apps to only use claims over roles.

Support both and let the users decide based on their needs / experience / preference.

tugberkugurlu commented 10 years ago

OK, you are actually right. I'll implement this before publishing the stable package for .NET v2.0.0

thoemmi commented 10 years ago

Well, you rejected my implementation (#2) :stuck_out_tongue_winking_eye:

tugberkugurlu commented 10 years ago

@thoemmi yes, I know :confused: however, couldn't resist the requests as people need this. I was hoping to fire away the requests but a man can do so much, right :smile:

Feel free to send another PR again if you would like to.

matrichard commented 8 years ago

Really late to the party.... but any news on this?

ok nevermind about that... was easier to just store it as a claim like this : new Claim(ClaimTypes.Role, "Administrator")