Freigeben über


CookieAuthenticationOptions.CookieName Eigenschaft

Definition

Achtung

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.

Achtung

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.

Diese Eigenschaft ist veraltet und wird in einer zukünftigen Version entfernt. Die empfohlene Alternative ist auf Cookie.

Bestimmt den Cookienamen, der zum dauerhaften Speichern der Identität verwendet wird. Der Standardwert ist ". AspNetCore.Cookies". Dieser Wert sollte geändert werden, wenn Sie den Namen von AuthenticationScheme ändern, insbesondere wenn Ihr System den Cookieauthentifizierungshandler mehrmals verwendet.

public:
 property System::String ^ CookieName { System::String ^ get(); void set(System::String ^ value); };
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")]
public string CookieName { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.")]
public string CookieName { get; set; }
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")>]
member this.CookieName : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Name.")>]
member this.CookieName : string with get, set
Public Property CookieName As String

Eigenschaftswert

Attribute

Gilt für: