Class SessionLookupResult
Represents the result of looking up a session in the session store: the session record and whether the token used to look it up is stale.
Namespace: Singulink.Net.Http.Api.Service
Assembly: Singulink.Net.Http.Api.Service.dll
Syntax
public class SessionLookupResult
Constructors
| Name | Description |
|---|---|
| SessionLookupResult(SessionRecord, bool) | Initializes a new instance of the SessionLookupResult class. |
Properties
| Name | Description |
|---|---|
| IsTokenStale | Gets a value indicating whether the information contained in the token used to look up the session is stale, i.e. the data it was created from has changed since it was created. Implementations typically determine this by comparing a security stamp or version captured in the token against the latest value in the data store. |
| Session | Gets the session record that was found. |