CookieAuthenticationOptions.CookieName 屬性

定義

判斷用來持續識別的 cookie 名稱。 預設值為 「。AspNetCore.Cookies」。 如果您變更 AuthenticationScheme 的名稱,則此值應該變更,特別是當您的系統多次使用 Cookie 驗證中介軟體時。

public:
 property System::String ^ CookieName { System::String ^ get(); void set(System::String ^ value); };
public string CookieName { get; set; }
member this.CookieName : string with get, set
Public Property CookieName As String

屬性值

適用於