ModelFactoryGenerateNewMfaConnection Method

Generates a new MfaConnectionDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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