Class DeviceBoundSessionCookieCraving
A device bound session's cookie craving.
public sealed record DeviceBoundSessionCookieCraving : IEquatable<DeviceBoundSessionCookieCraving>
- Inheritance
-
DeviceBoundSessionCookieCraving
- Implements
- Inherited Members
Constructors
DeviceBoundSessionCookieCraving(string, string, string, bool, bool)
A device bound session's cookie craving.
public DeviceBoundSessionCookieCraving(string Name, string Domain, string Path, bool Secure, bool HttpOnly)
Parameters
NamestringThe name of the craving.
DomainstringThe domain of the craving.
PathstringThe path of the craving.
SecureboolThe Secure attribute of the craving attributes.
HttpOnlyboolThe HttpOnly attribute of the craving attributes.
Properties
Domain
The domain of the craving.
public string Domain { get; init; }
Property Value
HttpOnly
The HttpOnly attribute of the craving attributes.
public bool HttpOnly { get; init; }
Property Value
Name
The name of the craving.
public string Name { get; init; }
Property Value
Path
The path of the craving.
public string Path { get; init; }
Property Value
SameSite
The SameSite attribute of the craving attributes.
public CookieSameSite? SameSite { get; init; }
Property Value
Secure
The Secure attribute of the craving attributes.
public bool Secure { get; init; }