我可以使用外部API对用户进行身份验证吗? [英] Can I use external APIs to authenticate users?

查看:85
本文介绍了我可以使用外部API对用户进行身份验证吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被要求开发一个lightswitch应用程序作为桌面客户端或HTML客户端.现在我对身份验证感到困惑 LightSwitch中的机制,并引发一个问题:我可以从外部网站或应用程序对我的用户进行身份验证吗?

I have been asked to develop a lightswitch application either as desktop client or HTML client. Now I am confused about the authentication mechanism in LightSwitch, and it leads a question: Can I authenticate my users from an external website or application?  

  • 对于HTML客户端,我一直在考虑是否可以使用外部API(例如Facebook登录API)来验证我的用户?如果可以的话,代码应为JavaScript,然后将其放在哪里,以及如何配置LS应用程序?
  • 对于台式机客户端,同样的问题,如果我可以通过从外部网站获取一些用户信息来识别我的用户,那么我应该使用哪种代码/编程语言?  
  • For the HTML client, I have been thinking that whether I could use external APIs like Facebook Login API to authenticate my users? If I could, the code should be JavaScript, then where should I put it, and how can I configure my LS application?
  • For the desktop client, same question, if I could identify my users by pulling some user information from an external website, what kind of code/Programming Language shall I use? 

推荐答案

您可以使用 SSL加密.从以下获取更多信息:

You can use SSL Encryption . Getting more information from:

http://msdn.microsoft.com/en-us/magazine/hh456409.aspx

希望它会有所帮助.


这篇关于我可以使用外部API对用户进行身份验证吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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