public Task CreateNewPassword(
EncryptedPasswordDto password,
EncryptedPasswordDto old,
AccountDto createdBy,
string ipAddress,
CancellationToken cancellationToken = default
)| UnauthorizedAccessException | Thrown if the user createdBy did not have the correct permissions |
| ArgumentNullException | Thrown if password, old or createdBy was |
| ArgumentException | Thrown if ipAddress is IsNullOrWhiteSpace(String) |
| ResourceInvalidStateException | Thrown if password is in an invalid state. |