Function performing the requests using the provided axios instance
Additional options
Optionalaxios?: AxiosInstanceThe axios instance to use, defaults to @nextcloud/axios
Optionaltext?: stringCustom text to show in the dialog, instead of the default text
Promise resolving to the return value of the callback.
Rejects with PasswordConfirmationCancelledError if password confirmation was cancelled.
Group multiple requests that require strict password confirmation, so the user only needs to enter the password once.
The password is validated once before the callback is executed, then all requests made with the axios instance passed to the callback are authenticated with the confirmed password.