Chapter 7. Authentication

Here is a quick look at what we'll cover in this chapter:

  • How to add authentication to Azure Mobile Apps
  • How to use the Xamarin.Auth component to easily perform OAuth and securely communicate with the API
  • How to update the TripLog app with a sign in page

Adding identity and authentication to Azure Mobile Apps

In the previous chapter, we set up a new, live backend service hosted in Microsoft Azure. The service contains a single table, Entry, which houses all log entries for our TripLog app. Currently, the Entry table is available anonymously. In this section, we are going to change the permissions on the Entry table to require each request to contain an access token associated with an authenticated user.

Setting up permissions ...

Get Mastering Xamarin.Forms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.