using System.Data.Entity; using System.Web; using InventoryTraker.Web.Core; using InventoryTraker.Web.Data; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin.Security; using StructureMap; namespace InventoryTraker.Web.Identity { public class AspNetIdentityRegistry : Registry { public AspNetIdentityRegistry() { For>().Use>(); For().Use(); For().Use(ctx => ctx.GetInstance().GetOwinContext().Authentication); } } }