When I upgrade from ASP.NET Core 1.x to 2.0, what is the replacement for IdentityCookieOptions?

Viewed 2781

I have an ASP.NET Core 1.1 application that with code that uses this API:

Microsoft.AspNetCore.Identity.IdentityCookieOptions

When I attempt to upgrade to ASP.NET Core 2.0, the compiler gives me this error:

error CS0246: The type or namespace name 'IdentityCookieOptions' could not be found (are you missing a using directive or an assembly reference?)

What is the equivalent API in ASP.NET Core 2.0?

1 Answers
Related