ModelFactoryGenerateNewMfaConnection Method

Generates a new MfaConnectionDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static MfaConnectionDto GenerateNewMfaConnection(
	AccountDto account,
	CompanyDto company,
	MfaType type,
	string location
)

Parameters

account  AccountDto
Account to generate it for.
company  CompanyDto
Company the account belongs to.
type  MfaType
The type of MFA connection
location  String
The location (IP Address, device) the user is currently on.

Return Value

MfaConnectionDto
Newly created MFA connection.

See Also