2018-11-12 15:10:52 -06:00
2018-11-12 15:10:52 -06:00
2018-11-12 15:10:52 -06:00
2017-08-21 10:06:27 -05:00
2017-08-23 13:47:22 -05:00
2017-08-29 15:42:24 -05:00

RavenDB logo RavenDB.Identity

RavenDB identity provider for ASP.NET Core.

The simple and easy Identity provider for RavenDB and ASP.NET Core. Use Raven to store your users and logins. Uses RavenDB 4+

Instructions

  1. In Startup.cs:
public void ConfigureServices(IServiceCollection services)
{
	// Add RavenDB and identity.
	services
		.AddRavenDbAsyncSession(docStore) // Create a RavenDB IAsyncDocumentSession for each request. docStore is your IDocumentStore instance. You're responsible for calling .SaveChanges after each request.
		.AddRavenDbIdentity<AppUser>(); // Use Raven for users and roles. AppUser is your class, a simple DTO to hold user data. See https://github.com/JudahGabriel/RavenDB.Identity/blob/master/Sample/Models/AppUser.cs

	...
}
  1. In your controller actions, call .SaveChanges when you're done making changes. Typically this is done via a RavenController base class.

  2. You're done!

Need help? See the sample app. It supports regular sign-ins as well as 2-factor authentication.

Not using .NET Core? See our sister project for a RavenDB Identity Provider for MVC 5+ and WebAPI 2+ on the full .NET Framework.

S
Description
RavenDB Identity provider for ASP.NET Core. Let RavenDB manage your users and logins.
Readme 1.3 MiB
Languages
C# 100%