AzureCosmosDbEnableAccountTwoFactorAuthentication Method

Enable two-factor authentication of an AccountDto

Definition

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

Parameters

account  AccountDto
Account to be enabled two-factor authentication
enableBy  UserSessionData
User updating the account
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Implements

IAzureCosmosDbEnableAccountTwoFactorAuthentication(AccountDto, UserSessionData, CancellationToken)

See Also