Fix cookie middleware name for interop package
This commit is contained in:
parent
4995865158
commit
9e02042798
|
|
@ -13,7 +13,7 @@ namespace Owin
|
|||
public static ISecureDataFormat<AuthenticationTicket> CreateSharedDataFormat(DirectoryInfo keyDirectory, string authenticationType)
|
||||
{
|
||||
var dataProtector = DataProtectionProvider.Create(keyDirectory)
|
||||
.CreateProtector("Microsoft.AspNet.Authentication.Cookies.CookieAuthenticationMiddleware", // full name of the ASP.NET 5 type
|
||||
.CreateProtector("Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", // full name of the ASP.NET 5 type
|
||||
authenticationType, "v2");
|
||||
return new AspNetTicketDataFormat(new DataProtectorShim(dataProtector));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue