Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding samples how to use and manage Roles #8

Open
aurimielisss opened this issue Apr 12, 2017 · 1 comment
Open

Adding samples how to use and manage Roles #8

aurimielisss opened this issue Apr 12, 2017 · 1 comment

Comments

@aurimielisss
Copy link

No description provided.

@codekoenig
Copy link
Owner

In general, you could simply look into tutorials of ASP.NET Core Identity to see how to manage roles. After all, this is just the persistence provider that stores and queries the roles for ASP.NET Core Identity, so it will "just work" in AspNetCore.Identity.DocumentDb ... thus, all you need to know specifically for this provider is documented here: https://github.com/codekoenig/AspNetCore.Identity.DocumentDb#storing-roles

For role management with ASP.NET Core Identity, you could look into this sample project: https://code.msdn.microsoft.com/ASPNET-Core-MVC-Authenticat-ef5942f5

That said, i will extend the sample project of this repository to include the role configuration from the README as soon as I have some free time. And while I'm at it I will also add the UI parts to the MVC app to have a thorough sample as I agree it would be nice to have all that info in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants