IAzureCosmosDbEnableAccountTwoFactorAuthentication Method

Enable two-factor authentication of an AccountDto

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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

See Also