IAzureCosmosDbEnableCompanyTwoFactorAuthentication Method
Enable the company's two-factor authentication. All accounts in the company will be required to use two-factor authentication.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task EnableCompanyTwoFactorAuthentication(
CompanyDto company,
UserSessionData enableBy,
CancellationToken cancellationToken = default
)
- company CompanyDto
- Company to enable two-factor authentication
- enableBy UserSessionData
- User enabling two-factor authentication
- cancellationToken CancellationToken (Optional)
- Cancellation token (optional)
TaskTask completion