我正在新开发office365桌面应用程序。我从here获得了一些示例代码。我按照
REGISTER YOUR APP
中提到的步骤进行操作。我能够毫无问题地获取所有详细信息,例如联系人、电子邮件和日历。
问题:
使用MVVC平台可以生成桌面应用程序吗?
如何使用 Oauth 令牌连接到 Exchange Server?有什么例子吗?实际上我遵循了以下步骤:
AuthenticationContext authenticationContext =
new AuthenticationContext(“login.windows.net/treyresearch1.onmicrosoft.com”);
AuthenticationResult result =
await authenticationContext.AcquireTokenAsync(“myappurl”,“2b8606b7-6bad-4e8b-ac3c-1356aca8ab0e”);
但是获得
AuthenticationContext
并不存在。我需要导入什么服务才能运行它?
如何使用 Exchange Server 添加代理人?