API
AddCookie
Registers a named cookie authentication handler.
Formal Syntax & Structure
csharp syntaxcsharp
services.AddAuthentication("catalog").AddCookie("catalog")Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.services.AddAuthentication("catalog").AddCookie("catalog")