在webbrowser加载完成事件中解析html内容时,不向用户显示webbrowser中的HTML页面内容 [英] Not to Display an HTML page content in webbrowser to the user when parsing the html content in webbrowser load completed event

查看:180
本文介绍了在webbrowser加载完成事件中解析html内容时,不向用户显示webbrowser中的HTML页面内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我在Windows Phone8的混合应用程序中实现了OAUTH,所以当我加载一个  url时,html页面的响应包含我的身份验证代码;需要解析,我能够解析代码,但问题是
,因为它是在webbrowser中加载的html页面 我们应该向用户显示html页面内容(Authentication Code) b $ b

I am implementing an OAUTH in my Hybrid application for Windowsphone8 so when I am loading an url the response of the html page contains the Authentication code which I need to parse , I am able to parse the Code but the problem is the since it is an html page loaded in a webbrowser  we should display the html page content(Authentication Code) to the user

有没有办法不向用户显示网页浏览器的html页面内容

Is there any way not to show the html page content of the webbrowser to the user

谢谢

Praveen

推荐答案

OAuth规范是这样的,你应该显示页面到。客户 您需要这样做,以便客户可以回复并拥有熟悉的UI(来自提供商)登录。
The OAuth specification is such that you should display the page to the customer.  You need to do this so that the customer can respond and have a familiar UI (from the provider) to log into.


这篇关于在webbrowser加载完成事件中解析html内容时,不向用户显示webbrowser中的HTML页面内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆