Generic ASP.Net Identity

A set of prebuilt classes are provided in the core Lynicon assembly which allow Lynicon to switch in ASP.Net Identity as its user management system.  This switch is accomplished by inserting the following code into LyniconConfig.cs in the InitialiseDataAPI method at the top of the method:

public virtual void InitialiseDataApi()
{
  var idSecManager = new LyniconIdentitySecurityManager<ApplicationUser, string, ApplicationDbContext, ApplicationUserManager, ApplicationSignInManager>();
  idSecManager.InitialiseDataApi();
  LyniconSecurityManager.Current = idSecManager;
  ...
}

The classes ApplicationUser, ApplicationDbContext, ApplicationUserManager and ApplicationSignInManager are example inheritors of the relevant base classes, or simply the class names of the default ASP.Net Identity created in project creation in Visual Studio. The 'string' type name is for the type of the key used for ApplicationUser.