Skip to content

jcamp-code/MongoEntityFramework.AspNetCore.Identity

Repository files navigation

alt text

MongoEntityFramework.AspNetCore.Identity

Asp.Net Core Identity providers for MongoDB.EntityFrameworkCore.

Features

MongoFramework Implementations

  • IdentityUser
  • IdentityRole
  • RoleStore
  • UserStore
  • UserOnlyStore

ServiceCollection Extensions for

  • Identity Stores (adds to IdentityBuilder)
builder.Services.AddDefaultIdentity<MongoIdentityUser>(options => options.SignIn.RequireConfirmedAccount = true)
    .AddMongoEntityFrameworkStores<ApplicationDbContext>();

Sample .NET 9.0 Project shows a fully working example

Unit Tests, including passing Asp.Net Core's IdentitySpecificationBase

IdentitySpec Tests

This issue shows the spec tests weren't publicly released for .NET 5.0. They are supposed to be, but do not show up on NuGet yet. I have added the code manually to the test project until this gets published.

About

AspNet.Core Identity Providers for MongoDB EF Core

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages