public async Task ChallengeFailed(Exception exception)
        {
            await JoinableTaskContext.Factory.SwitchToMainThreadAsync();

            twoFactorDialog.Cancel();
        }
        public async Task ChallengeFailed(Exception exception)
        {
            await ThreadingHelper.SwitchToMainThreadAsync();

            twoFactorDialog.Cancel();
        }