ModelFactoryGenerateNewMfaConnection Method

Generates a new MfaConnectionDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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