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 | 14,810 | 1/13/2024 |
8.0.9 | 25,854 | 7/6/2023 |
8.0.8 | 3,408 | 4/20/2023 |
8.0.7 | 34,846 | 5/5/2021 |
8.0.6 | 1,392 | 4/1/2021 |
8.0.5 | 2,850 | 12/17/2020 |
8.0.4 | 2,472 | 9/22/2020 |
8.0.3 | 1,233 | 9/2/2020 |
8.0.2 | 1,880 | 7/28/2020 |
8.0.1 | 1,093 | 7/26/2020 |
8.0.0 | 1,097 | 7/25/2020 |
7.0.1 | 4,146 | 12/19/2019 |
7.0.0 | 1,197 | 12/13/2019 |
6.2.0.2 | 2,367 | 12/3/2019 |
6.2.0.1 | 1,170 | 11/28/2019 |
6.2.0 | 1,241 | 11/13/2019 |
6.1.0 | 3,686 | 7/8/2019 |
6.0.6 | 1,263 | 6/26/2019 |
6.0.5 | 1,193 | 6/10/2019 |
6.0.3 | 1,972 | 4/5/2019 |
6.0.2 | 4,841 | 4/1/2019 |
6.0.1 | 1,223 | 3/21/2019 |
5.0.1 | 1,220 | 3/11/2019 |
5.0.0 | 1,354 | 3/4/2019 |
4.4.1 | 3,958 | 10/8/2018 |
4.3.0 | 3,390 | 2/24/2018 |
4.2.0 | 1,596 | 2/23/2018 |
4.1.1 | 1,504 | 2/22/2018 |
4.0.1 | 1,630 | 2/11/2018 |
4.0.0 | 1,663 | 2/9/2018 |
3.0.0 | 1,762 | 9/28/2017 |
2.1.0 | 1,662 | 9/6/2017 |
2.0.4 | 1,676 | 9/5/2017 |
2.0.3 | 1,642 | 9/5/2017 |
2.0.2 | 1,640 | 8/29/2017 |
2.0.1 | 1,640 | 8/29/2017 |
2.0.0 | 3,758 | 8/29/2017 |
1.0.3 | 2,102 | 8/23/2017 |
1.0.1 | 5,789 | 8/23/2017 |
1.0.0 | 5,517 | 8/23/2017 |
Implemented IQueryable<TUser>, making it work with 2FA.