Configure tolken provider
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user