Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove dependency on Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider #2104
The code in OwinExtensions.cs that attempts to retrieve an IDataProtectionProvider from IAppBuilder and then if that's null create an instance of Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider using the default ctor needs to be removed. The parameterless ctor has been obsoleted from Microsoft.Owin.Security.
Instead, SignalR should simply call the GetDataProtector() extension method on IAppBuilder and inject that into the dependency resolver.