Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 697 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 697 Bytes

Unravel.AspNet.Identity

Unravel provides AddIdentity() extension methods on IServiceCollection. The resulting IdentityBuilder provides methods and an extension point to configure Microsoft.AspNet.Identity services:

  • SetPerOwinContext<T>() replaces CreatePerOwinContext()
  • AddUserManager<T>(), AddRoleManager<T>(), AddSignInManager<T>()
    • Calls SetPerOwinContext<T>()
    • Extension method overloads align with CreatePerOwinContext() signatures
  • Microsoft.Owin.Security.DataProtection.IDataProtectionProvider is registered automatically from IAppBuilder.GetDataProtectionProvider()