Skip to content

DapperMaticLoginRequest ​

Namespace: MJCZone.DapperMatic.AspNetCore.Accounts

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Signs in to a built-in account: an email and password (and a second factor when it has one), in a tenant or none.

sealed public

Contents ​

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

Constructors ​

DapperMaticLoginRequest ​

csharp
DapperMaticLoginRequest()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Email ​

Gets or sets the email.

Type: string

Password ​

Gets or sets the password.

Type: string

TwoFactorCode ​

Gets or sets the code of an authenticator app, when the account has two-factor sign-in.

Type: string?

TwoFactorRecoveryCode ​

Gets or sets a recovery code, instead of an authenticator's.

Type: string?

Tenant ​

Gets or sets the tenant to sign in to, or null: the account's only tenant (with no platform roles), or the platform.

Type: string?