大佬教程收集整理的这篇文章主要介绍了Windows Azure AppFabric访问控制服务(ACS)中的OAuth 2.0身份提供程序,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
@L_944_0@
但是,您如何实际设置OAuth 2.0身份提供商?
在管理界面中添加标识提供程序并选择WS-Federation标识提供程序时,需要提供WS-Federation元数据文档.
但是,当您阅读OAuth 2.0提供程序的文档(即http://msdn.microsoft.com/en-us/library/hh243647.aspx)时,没有提及元数据文档(是的,我知道Windows Live是作为预配置的身份提供程序包含的).这是我要写的东西吗?
更新
好的,所以我发现你可以使用API添加其他身份提供者,请参阅以下PowerSHell命令作为示例:
Add-IdentityProvider -Type "Manual" -Name "foo" -SignInAddress "http://term.ie/oauth/example/access_token.PHP" -Protocol OAuth -Namespace "abc" -ManagementKey "xxxxxx" Add-IdentityProvider : An error occurred while processing this request. At line:1 char:21 + Add-IdentityProvider <<<< -Type "Manual" -Name "foo" -SignInAddress "http://term.ie/oauth/example/access_token.PHP" -Protocol OAuth -Namespace "abc" -ManagementKey "xxxxxx" + CategoryInfo : CloseError: (:) [Add-IdentityProvider],serviceManagementexception + FullyQualifiedErrorId : Microsoft.Samples.DPE.ACs.serviceManagementTools.PowerSHell.IdentityProviders.AddIdentityProviderCommand
另一个更新
ACS Management API提供了添加新身份提供程序的机制(如果将OpenId设置为WebSSOProtocolTypE),但是,我无法看到您如何传递我正在使用的OAuth测试服务器(http://term.ie/oauth/example/)所需的密钥/机密.
如果我正确理解了Dominick的电子邮件,则无法以此身份使用OAuth,您必须使用OpenId.不幸的是,撰写你提到的第一篇博客文章的人真的对OpenID / OpenAuth一无所知 – 他是一个WS-Fed人.我这样说是因为我写了……
以上是大佬教程为你收集整理的Windows Azure AppFabric访问控制服务(ACS)中的OAuth 2.0身份提供程序全部内容,希望文章能够帮你解决Windows Azure AppFabric访问控制服务(ACS)中的OAuth 2.0身份提供程序所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。