coreyauger / Neo4JMembershipProvider

asp.net Neo4J Membership Provider
MIT License
4 stars 4 forks source link

ASP.NET Roles and Profile Properties Support #3

Open pcmantinker opened 10 years ago

pcmantinker commented 10 years ago

Do you have any plans to incorporate ASP.NET Roles and Profile Properties? I could assist implementation of these if you're interested. I see that WebSecurity.CreateUserAndAccount has overloaded methods to support profile properties. Currently, nothing is being done with this argument in your membership provider. It would be simple enough to create separate nodes for profile properties and relate them to user nodes. Also, as far as roles are concerned, nodes representing roles could be created and users could be related to the roles through a relationship such as "MemberOf".

http://msdn.microsoft.com/en-us/library/webmatrix.webdata.websecurity.createuserandaccount(v=vs.111).aspx

coreyauger commented 10 years ago

Yea this and also I did not get around to implementing providers.. you will see that there is placeholder code for where to implement these (provider login being : facebook, google, twitter..ect )

I have not been working on this much since my new work is all done in Scala. If you want to make additions I would be happy to merge them and give you credit.

pcmantinker commented 10 years ago

Not a problem! I will see what I can come up with this week. I like the idea of using OpenID/OAuth providers to authenticate too. I will send you a pull request once I've finished my additions.

coreyauger commented 10 years ago

sounds good !

StephenDKing commented 10 years ago

Did this go anywhere? I didn't find it in the checkin's

coreyauger commented 10 years ago

Nothing was done so far with this. Additionally a number of facilities have evolved in Neo4J that would be worth adding. I have moved into the Scala world and don't have have time to support this effort.