RavenDB.Identity
4.4.1
See the version list below for details.
dotnet add package RavenDB.Identity --version 4.4.1
NuGet\Install-Package RavenDB.Identity -Version 4.4.1
<PackageReference Include="RavenDB.Identity" Version="4.4.1" />
paket add RavenDB.Identity --version 4.4.1
#r "nuget: RavenDB.Identity, 4.4.1"
// Install RavenDB.Identity as a Cake Addin #addin nuget:?package=RavenDB.Identity&version=4.4.1 // Install RavenDB.Identity as a Cake Tool #tool nuget:?package=RavenDB.Identity&version=4.4.1
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
- 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
...
}
In your controller actions, call .SaveChanges when you're done making changes. Typically this is done via a RavenController base class.
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNetCore.Identity (>= 2.0.1)
- Microsoft.Extensions.DependencyInjection (>= 2.0.0)
- RavenDB.Client (>= 4.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on RavenDB.Identity:
Package | Downloads |
---|---|
BeyondAuth.Identity.Core
Package Description |
|
LeadSoft.Adapter.RavenDBIdentity
LeadSoft® RavenDB Identity Classes. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on RavenDB.Identity:
Repository | Stars |
---|---|
RemiBou/Toss.Blazor
Experimental project using AspNetCore Blazor
|
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 13,825 | 1/13/2024 |
8.0.9 | 25,234 | 7/6/2023 |
8.0.8 | 3,401 | 4/20/2023 |
8.0.7 | 34,780 | 5/5/2021 |
8.0.6 | 1,389 | 4/1/2021 |
8.0.5 | 2,845 | 12/17/2020 |
8.0.4 | 2,465 | 9/22/2020 |
8.0.3 | 1,228 | 9/2/2020 |
8.0.2 | 1,875 | 7/28/2020 |
8.0.1 | 1,088 | 7/26/2020 |
8.0.0 | 1,092 | 7/25/2020 |
7.0.1 | 4,140 | 12/19/2019 |
7.0.0 | 1,194 | 12/13/2019 |
6.2.0.2 | 2,362 | 12/3/2019 |
6.2.0.1 | 1,165 | 11/28/2019 |
6.2.0 | 1,236 | 11/13/2019 |
6.1.0 | 3,669 | 7/8/2019 |
6.0.6 | 1,258 | 6/26/2019 |
6.0.5 | 1,188 | 6/10/2019 |
6.0.3 | 1,967 | 4/5/2019 |
6.0.2 | 4,836 | 4/1/2019 |
6.0.1 | 1,218 | 3/21/2019 |
5.0.1 | 1,213 | 3/11/2019 |
5.0.0 | 1,349 | 3/4/2019 |
4.4.1 | 3,952 | 10/8/2018 |
4.3.0 | 3,385 | 2/24/2018 |
4.2.0 | 1,591 | 2/23/2018 |
4.1.1 | 1,499 | 2/22/2018 |
4.0.1 | 1,625 | 2/11/2018 |
4.0.0 | 1,658 | 2/9/2018 |
3.0.0 | 1,757 | 9/28/2017 |
2.1.0 | 1,657 | 9/6/2017 |
2.0.4 | 1,671 | 9/5/2017 |
2.0.3 | 1,637 | 9/5/2017 |
2.0.2 | 1,635 | 8/29/2017 |
2.0.1 | 1,635 | 8/29/2017 |
2.0.0 | 3,728 | 8/29/2017 |
1.0.3 | 2,096 | 8/23/2017 |
1.0.1 | 5,784 | 8/23/2017 |
1.0.0 | 5,513 | 8/23/2017 |
Implemented IQueryable<TUser>, making it work with 2FA.