Additional options
Optionaltext?: stringCustom text to show in the dialog, instead of the default text
Promise that resolves when password is confirmed or not needed.
Rejects with PasswordConfirmationCancelledError if password confirmation was cancelled.
Confirm password if needed. Replacement of deprecated
OC.PasswordConfirmation.requirePasswordConfirmation(callback)