Dela via


ICookieManager Interface

Definition

This is used by the CookieAuthenticationMiddleware to process request and response cookies. It is abstracted from the normal cookie APIs to allow for complex operations like chunking.

public interface class ICookieManager
public interface ICookieManager
type ICookieManager = interface
Public Interface ICookieManager
Derived

Methods

AppendResponseCookie(HttpContext, String, String, CookieOptions)

Append the given cookie to the response.

DeleteCookie(HttpContext, String, CookieOptions)

Append a delete cookie to the response.

GetRequestCookie(HttpContext, String)

Retrieve a cookie of the given name from the request.

Applies to