Tag Archives: ADAL

Put Some Azure Active Directory in Xamarin.Forms

via Put Some Azure Active Directory in Xamarin.Forms | Xamarin Blog.

he Azure Active Directory Authentication Library (aka ADAL) makes authentication with Azure Active Directory a breeze. We’ve already covered usage of ADAL in various posts on authenticating with Active Directory, adding storage, and adding collaboration (SharePoint) to your mobile apps.
ADAL is available for various platforms and supports Xamarin.Android, Xamarin.iOS, and Windows Phone. It’s easy to integrate ADAL into these projects by adding a NuGet package. Although ADAL hasn’t released a specific Package for Xamarin.Forms, there have been many questions in the Xamarin forums and on StackOverflow about how to use ADAL in a Xamarin.Forms app.

Recently, Vittorio Bertocci, Principal Program Manager at Microsoft, posted ablog about integrating ADAL into Xamarin.Forms apps using a PageRenderer. In this post, I’ll be sharing another way to integrate ADAL into Xamarin.Forms apps using Dependency Service, which is available in Xamarin.Forms.

Using ADAL 3.x with Xamarin.Forms

via Using ADAL 3.x with Xamarin.Forms | CloudIdentity.

You might have noticed that I am not blogging much lately – that’s because I am heads down trying to wrap this bad guy. However today I have to take a brief break from book writing and spend some time unblocking you guys on a super hot scenario, the use of Xamarin.Forms in ADAL.

I have been receiving TONS for requests for it lately, and the dirty secret is that the current ADAL 3.x already supports Xamarin.Forms – we simply did not have the time to publish a sample yet!

In this post I am going to share with you the absolute minimum code required to illustrate the approach. An official, full fledged sample will follow _ here I just want to unblock you.