private async Task ConfirmConsent(object sender, EventArgs e) { var consent = (ConsentPageViewModel)sender; var authInfo = await _tokenStorage.GetAuthInfo(); await ConfirmAuthReqId(authInfo.IdToken, consent.AuthReqId, consent.Permissions.Where(p => p.IsSelected).Select(p => p.PermissionId)); await RemoveConsent(sender, e); }