Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/291.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 将MobileServiceAuthenticationProvider.WindowsAzureActiveDirectory与Xamarin.Android一起使用_C#_Android_Azure_Xamarin.ios_Xamarin.android - Fatal编程技术网

C# 将MobileServiceAuthenticationProvider.WindowsAzureActiveDirectory与Xamarin.Android一起使用

C# 将MobileServiceAuthenticationProvider.WindowsAzureActiveDirectory与Xamarin.Android一起使用,c#,android,azure,xamarin.ios,xamarin.android,C#,Android,Azure,Xamarin.ios,Xamarin.android,Iam正在使用Windows azure active directory创建应用程序。我正在学习本教程 但当我达到这个密码时:- private async Task Authenticate() { try { user = await client.LoginAsync(this, MobileServiceAuthenticationProvider.MicrosoftAccount); CreateAndShowDialog(strin

Iam正在使用Windows azure active directory创建应用程序。我正在学习本教程

但当我达到这个密码时:-

 private async Task Authenticate()
{
    try
    {
        user = await client.LoginAsync(this, MobileServiceAuthenticationProvider.MicrosoftAccount);
        CreateAndShowDialog(string.Format("you are now logged in - {0}", user.UserId), "Logged in!");
    }
    catch (Exception ex)
    {
        CreateAndShowDialog(ex, "Authentication failed");
    }
}
我想使用WindowsAzureActiveDirectory而不是MicrosoftAccount。但我只能看到四个选项,即谷歌、facebook、twitter和微软账户。如何将标识提供程序用作WindowsAzureActiveDirectory

任何帮助都会很有用,因为我刚刚开始使用Xamarin和Azure