Class SessionStoreOptions
The options for the SessionStore
.
Inheritance
System.Object
SessionStoreOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ComponentSpace.OpenID.Session
Assembly: ComponentSpace.OpenID.dll
Syntax
public class SessionStoreOptions
Properties
CookieName
Gets or sets the associated cookie name.
The default name is openid-session.
Declaration
public string CookieName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The associated cookie name. |
CookieOptions
Gets or sets the associated cookie options.
Declaration
public CookieOptions CookieOptions { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Http.CookieOptions | The associated cookie options. |
SlidingSessionExpiration
Gets or sets the sliding time span for expiring session data.
After the specified period of inactivity, the session data will be deleted.
The default time span is 30 minutes.
Declaration
public TimeSpan SlidingSessionExpiration { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The sliding time span for expiring session data. |