非Web应用程序可以使用OpenID吗? [英] Can non-web applications use OpenID?

查看:92
本文介绍了非Web应用程序可以使用OpenID吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使我的桌面应用程序成为OpenID依赖方?

How can I make my desktop application into an OpenID relying party?

推荐答案

由于OpenID具有指定的协议,因此它要么一直工作(假设提供程序符合要求),要么根本不工作.此外,由于使用了OpenID协议(至少要进行身份验证,请参阅规范)由简单的HTTP请求组成,您可以在桌面应用程序中实现该协议,前提是您知道如何发出此类请求.

Since OpenID has a specified protocol, it will either work all the time (assuming providers are conforming) or not at all. Additionally, since the OpenID protocol (at least the authentication bits, see the specification) consists of simple HTTP requests, you could implement the protocol in a desktop application assuming you know how to make such requests.

但是,通常认为这是一个坏主意,因为存在更好的技术(OAuth),并且会破坏用户体验(与浏览器中的OpenID不同-请参见

It is generally considered a bad idea though, since there are better technologies (OAuth) and it disrupts the user experience (being different from OpenID in a browser — see OpenID For Desktop Applications: How? When?).

进一步阅读:桌面客户端的OpenID

这篇关于非Web应用程序可以使用OpenID吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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