Home

Awesome


page_type: sample languages:


Azure Maps & Azure Active Directory Samples

<!-- Guidelines on README format: https://review.docs.microsoft.com/help/onboard/admin/samples/concepts/readme-template?branch=master Guidance on onboarding samples to docs.microsoft.com/samples: https://review.docs.microsoft.com/help/onboard/admin/samples/process/onboarding?branch=master Taxonomies for products and languages: https://review.docs.microsoft.com/new-hope/information-architecture/metadata/taxonomies?branch=master -->

These are 4 different samples using AspNetCore C# to quick start Azure AD authentication to Azure Maps. Each sample uses different authentication protocols depending on application need which are supported by Azure AD and Azure Role Based Access Control (RBAC).

Contents

Outline the file contents of the repository. It helps users navigate the codebase, build configuration and any related assets.

File/folderDescription
src/ImplicitGrantSamples used to show user authentication without a server component.
src/OpenIdConnectSamples using Microsoft's recommended protocol for secure web applications
src/ClientGrantSamples showing application authentication without user interaction.
.gitignoreDefine what to ignore at commit time.
CONTRIBUTING.mdGuidelines for contributing to the sample.
README.mdThe starting readme.
LICENSEThe license for the sample.

Prerequisites

Prior to downloading these samples

Setup

In the Azure Active Directory, create new application registration

In the Azure Portal create an Azure Maps account

Running the sample

Key concepts

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.