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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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