Authenticating Access to Web Services

Integrating authentication services into a Xamarin.Forms application

PDF for offline use
Related Articles:

Let us know how you feel about this


0/250

last updated: 2016-09

This guide explains how to integrate authentication services into a Xamarin.Forms application to enable users to share a backend while only having access to their own data. Topics covered include using basic authentication with a REST service, using the Xamarin.Auth component to authenticate against OAuth identity providers, and using the built-in authentication mechanisms offered by different providers.

Authenticating a RESTful Web Service

HTTP supports the use of several authentication mechanisms to control access to resources. Basic authentication provides access to resources to only those clients that have the correct credentials. This article demonstrates how to use basic authentication to protect access to RESTful web service resources.

Authenticating Users with an Identity Provider

Xamarin.Auth is a cross-platform SDK for authenticating users and storing their accounts. It includes OAuth authenticators that provide support for consuming identity providers such as Google, Microsoft, Facebook, and Twitter. This article explains how to use Xamarin.Auth to manage the authentication process in a Xamarin.Forms application.

Authenticating Users with Azure Mobile Apps

Azure Mobile Apps use a variety of external identity providers to support authenticating and authorizing application users. Permissions can then be set on tables to restrict access to only authenticated users. This article explains how to use Azure Mobile Apps to manage the authentication process in a Xamarin.Forms application.

Authenticating Users with Azure Active Directory B2C

Azure Active Directory B2C is a cloud identity management solution for consumer-facing web and mobile applications. This article demonstrates how to use Microsoft Authentication Library (MSAL) and Azure Active Directory B2C to integrate consumer identity management into a Xamarin.Forms application.

Integrating Azure Active Directory B2C with Azure Mobile Apps

Azure Active Directory B2C can be used to manage the authentication workflow for Azure Mobile Apps. With this approach, the identity management experience is fully defined in the cloud, and can be modified without changing your mobile application code. This article demonstrates how to use Azure Active Directory B2C to provide authentication and authorization to an Azure Mobile Apps instance with Xamarin.Forms.

Authenticating Users with an Amazon SimpleDB Service

Amazon SimpleDB does not offer its own resource-based permissions system. Instead, authentication against an identity provider can be used to ensure that users only have access to their own data in the SimpleDB domain. This article explains how to restrict users' access to their own SimpleDB data.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.