CookieOptions Class
Represents a cookie options.
Inheritance Hierarchy
System.Object
Microsoft.Owin.CookieOptions
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Class CookieOptions
'Usage
Dim instance As CookieOptions
public class CookieOptions
public ref class CookieOptions
type CookieOptions = class end
public class CookieOptions
The CookieOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CookieOptions | Initializes a new instance of the CookieOptions class. |
Top
Properties
Name | Description | |
---|---|---|
Domain | Gets or sets the domain to associate the cookie with. | |
Expires | Gets or sets the expiration date and time for the cookie. | |
HttpOnly | Gets or sets a value that indicates whether a cookie is accessible by client-side script. | |
Path | Gets or sets the virtual path to transmit with the current cookie. | |
Secure | Gets or sets a value that indicates whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.