Table storage provider for AspNet Core Identity
- Create an instance of
DataContextSettingsProvider
(or roll your own by implementingIDataContextSettingsProvider
), set the properties correctly and add it as a service. - Call
IdentityBuilder
extension methodAddTableStorageIdentity<TUser, TRole, TUserRole>()
- Call
IdentityBuilder.AddUserStore<UserStore<TUser, TRole, TUserRole>>()
With these configurations, the basic user management features should be available.
TUser
must be a type implementing IUser
interface. The package contains default implementation User
. Same with TRole
.
NuGet feed: https://www.nuget.org/packages/Core.Identity.TableStorage
0.0.2 - Added Role support, refactored repositories