IAzureCosmosDbCreateNewPassword Method
Creates a new password in the database and deactivates the old one.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task CreateNewPassword(
EncryptedPasswordDto password,
EncryptedPasswordDto old,
AccountDto createdBy,
string ipAddress,
CancellationToken cancellationToken = default
)
- password EncryptedPasswordDto
- Password to create
- old EncryptedPasswordDto
- Old password to deactivate
- createdBy AccountDto
- User creating the password
- ipAddress String
- IP Address of the createdBy
- cancellationToken CancellationToken (Optional)
- Cancellation token (optional)
TaskCosmos DB Object-creation
Task