Skip to content

DapperMaticInvitation ​

Namespace: MJCZone.DapperMatic.AspNetCore.Accounts

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

An invitation to an email: to a tenant, with roles there, or to the platform, with platform roles. Accepted once, before it expires; its token is kept only as a hash.

sealed public

Contents ​

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

Constructors ​

DapperMaticInvitation ​

csharp
DapperMaticInvitation()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Id ​

Gets or sets the invitation's id.

Type: string

Email ​

Gets or sets the email invited.

Type: string

NormalizedEmail ​

Gets or sets the email, normalized.

Type: string

TenantId ​

Gets or sets the tenant, or null for the platform.

Type: string?

Roles ​

Gets or sets the roles given, as a JSON array.

Type: string

InvitedBy ​

Gets or sets who invited.

Type: string?

TokenHash ​

Gets or sets the SHA-256 of the invitation's token.

Type: string

ExpiresAt ​

Gets or sets when it stops working.

Type: DateTimeOffset

CreatedAt ​

Gets or sets when it was made.

Type: DateTimeOffset

AcceptedAt ​

Gets or sets when it was accepted, or null.

Type: DateTimeOffset?