IAzureCosmosDbUpdateAccountFromAuth Method
Updates an original value in the database if the update came from the user itself during authentication.
(e.g. setting their MFA connection)
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task UpdateAccountFromAuth(
AccountDto newValue,
AccountDto original,
string ipAddress,
CancellationToken cancellationToken = default
)
- newValue AccountDto
- New value with edits.
- original AccountDto
- Original value.
- ipAddress String
- IP Address of the newValue
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskTask completion