TwitterOptions.StateCookie Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the settings used to create the state cookie before the cookie gets added to the response.
public:
property Microsoft::AspNetCore::Http::CookieBuilder ^ StateCookie { Microsoft::AspNetCore::Http::CookieBuilder ^ get(); void set(Microsoft::AspNetCore::Http::CookieBuilder ^ value); };
public Microsoft.AspNetCore.Http.CookieBuilder StateCookie { get; set; }
member this.StateCookie : Microsoft.AspNetCore.Http.CookieBuilder with get, set
Public Property StateCookie As CookieBuilder
Property Value
Remarks
If an explicit Name is not provided, the system will automatically generate a unique name that begins with __TwitterState
.
- SameSite defaults to Lax.
- HttpOnly defaults to
true
. - IsEssential defaults to
true
. - SecurePolicy defaults to SameAsRequest.