Skip to content

Instantly share code, notes, and snippets.

Rajinder Singh rajinders

Block or report user

Report or block rajinders

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rajinders
rajinders / AzureAuthHeader
Created Dec 16, 2014
How to create authentication header for Azure. This code came from Azure Resource manager training by Kevin Lam and David Tesar. This willl be help to any who wants to use Azure REST API and needs to generate authentication header
View AzureAuthHeader
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// you need to add project references to both Microsoft.IdentityModel.Clients.ActiveDirectory and
// Microsoft.IdentityModel.Clients.ActiveDirectory.WinForms
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System.Threading;
You can’t perform that action at this time.