Posted on: 1/1/2015 10:47:10 PM | Views : 1584

public static UserManager<CustomUser> CreateUserManager(CustomSecurityDbContext context, bool withProvider = false) { var manager = new UserManager<CustomUser>(new UserStore<CustomUser>(context)); manager.UserValidator = new UserValidator<CustomUser>(manager) { AllowOnlyAlphanumericUserNames = false }; if (withProvider) { var provider = new Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider("MvcApplication"); manager.UserTokenProvider = new Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider<CustomUser>(provider.Create("MvcApplication")); } return manager; } on the manager.UserTokenProvider line, the provider.Create method takes in a string which is described by intellisense as params string purposes.
What string parameter do I pass ...

Go to the complete details ...