CookieBuilder.SecurePolicy 属性

定义

将用于确定 Secure的策略。 这是从 HttpContext 传递给 的 确定的 Build(HttpContext, DateTimeOffset)

public:
 virtual property Microsoft::AspNetCore::Http::CookieSecurePolicy SecurePolicy { Microsoft::AspNetCore::Http::CookieSecurePolicy get(); void set(Microsoft::AspNetCore::Http::CookieSecurePolicy value); };
public virtual Microsoft.AspNetCore.Http.CookieSecurePolicy SecurePolicy { get; set; }
member this.SecurePolicy : Microsoft.AspNetCore.Http.CookieSecurePolicy with get, set
Public Overridable Property SecurePolicy As CookieSecurePolicy

属性值

适用于