Configure tolken provider

This commit is contained in:
2016-09-23 21:23:33 -04:00
parent 0b5dde065a
commit f473c64540
4 changed files with 19 additions and 8 deletions
+5 -1
View File
@@ -1,6 +1,8 @@
using Microsoft.AspNet.Identity;
using Heroic.Web.IoC;
using Microsoft.AspNet.Identity;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.DataProtection;
using Owin;
namespace InventoryTraker.Web
@@ -9,6 +11,8 @@ namespace InventoryTraker.Web
{
public void Configuration(IAppBuilder app)
{
IoC.Container.Inject(app.GetDataProtectionProvider());
var authenticationOptions = new CookieAuthenticationOptions
{
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,