AzureCosmosDbEnableCompanyMfa Method

Enables Multi-Factor Authentication (MFA) for all accounts within the specified company.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task EnableCompanyMfa(
	CompanyDto company,
	UserSessionData enableBy,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
The company for which MFA is to be enabled.
enableBy  UserSessionData
The user session data of the person enabling MFA.
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Implements

IAzureCosmosDbEnableCompanyMfa(CompanyDto, UserSessionData, CancellationToken)

See Also