【发布时间】:2013-04-28 15:41:43
【问题描述】:
各位开发者,有没有人有针对 Office 365(基于声明)进行身份验证的示例代码? 我需要从使用 Monotouch/Monotouch.Dialog 构建的 iPad 应用程序访问 SharePoint 列表。 在此先感谢您的帮助。 弗雷德
【问题讨论】:
标签: sharepoint xamarin.ios claims-based-identity office365
各位开发者,有没有人有针对 Office 365(基于声明)进行身份验证的示例代码? 我需要从使用 Monotouch/Monotouch.Dialog 构建的 iPad 应用程序访问 SharePoint 列表。 在此先感谢您的帮助。 弗雷德
【问题讨论】:
标签: sharepoint xamarin.ios claims-based-identity office365
如果是升级后的 Office 365 (=2013),则需要使用 SharePointOnlineCredentials。我从未尝试将它与 MonoTouch 一起使用,但它几乎没有依赖关系..
这里是如何使用它:
var creds = new SharePointOnlineCredentials(UserName, pass);
var cookie = creds.GetAuthenticationCookie(uri);
然后你可以在你的 web 服务调用中注入 cookie。
【讨论】: