Skip to content

DapperMaticUserSession ​

Namespace: MJCZone.DapperMatic.AspNetCore.Accounts

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

A sign-in: what a login started, which its refreshes keep going; ended by signing out, or the account turned off.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (6)

Constructors ​

DapperMaticUserSession ​

csharp
DapperMaticUserSession()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Id ​

Gets or sets the session's id.

Type: string

UserId ​

Gets or sets the account's id.

Type: string

CreatedAt ​

Gets or sets when it began.

Type: DateTimeOffset

RefreshedAt ​

Gets or sets when it was last refreshed.

Type: DateTimeOffset?

RevokedAt ​

Gets or sets when it was ended, or null.

Type: DateTimeOffset?

Stamp ​

Gets or sets the account's security stamp the session holds to: set at sign-in, and moved on when the session's own caller changes their password or second factor, so that change ends every other sign-in only.

Type: string?