实时身份验证和权限范围

Live Authentication and Permission Scopes

我只想在我的应用服务移动应用程序中请求一组非常具体的权限。 我正在使用 Microsoft 帐户身份验证,我查看了多个范围,但 none 提供了我需要的东西。

wl.basic 要求太多,联系人等。我如何才能只要求访问电子邮件地址和登录?

Wunderlist 是我正在寻找的完美示例,下面附上图片:

这是一篇博客 post,它描述了我认为您需要的功能:http://blogs.msdn.com/b/azuremobile/archive/2013/11/25/what-s-new-in-azure-mobile-services-1-6-4247.aspx

You can now set custom scopes required in the web-based login by using special app settings in the "configure" tab of your mobile service. The scopes are specified as space-separated values in the keys "MS_FacebookScope", "MS_GoogleScope" and "MS_MicrosoftScope" for Facebook, Google and Microsoft accounts respectively.

可以在此处找到有关可用范围的文档: https://msdn.microsoft.com/en-us/library/dn631845.aspx

我猜你需要的两个范围是 wl.signin and wl.emails。如果要使用这两个,则只需添加 MS_MicrosoftScope 并将其设置为 "wl.signin wl.emails"。您应该能够使用 space 或逗号分隔各个范围。