Skip to content

Instantly share code, notes, and snippets.

View tikluganguly's full-sized avatar

Tiklu Ganguly tikluganguly

View GitHub Profile
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.Collections.Generic;
namespace MichelOverrideExampleApp
{
public class MichelOverrideExampleHookImplementation : Microsoft.Xrm.Tooling.Connector.IOverrideAuthHookWrapper
{
// In memory cache of access tokens
Dictionary<string, AuthenticationResult> accessTokens = new Dictionary<string, Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult>();