带有桌面应用程序的OpenId? [英] OpenId with Desktop Application?

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

问题描述

我们正在使用供应商提供的API;在下一个版本中,他们将提供OpenId服务器,但大多数用户正在使用其桌面应用程序.我们正在构建的另一个网站将从该应用程序打开,并且我们应该与openid连接以访问存储在此提供程序中的资源.

We're using an API from a provider; in their next version, they would provide an OpenId server but mostly the users are using their desktop application. An other website we're building would be opened from this application and we supposedly would connect with openid to access the resources stored in this provider.

我仍然不了解如果用户已经通过桌面进行身份验证,这将如何工作,他们是否需要再次进行身份验证?如果他们关闭浏览器并重新打开它会发生什么,他们将不得不重新做一次吗?

Still I don't understand how this would work if user is already authenticated with the desktop, will they have to authenticate an other time ? What happens if they close their browser and reopen it, will they have to to do it again ?

推荐答案

OpenID和桌面应用程序完全完全不兼容.您无法使用OpenID保护桌面应用.

OpenID and desktop apps are totally completely and altogether incompatible. You cannot secure a desktop app using OpenID.

查看OAuth.它可以与OpenID一起使用,也可以不与OpenID一起使用,但是OAuth只是授权给包括桌面应用程序在内的应用程序访问网络资源.

Look at OAuth. It can work with or without OpenID, but OAuth is all about authorizing apps including desktop apps to access network resources.

这篇关于带有桌面应用程序的OpenId?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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