Skip to content

Instantly share code, notes, and snippets.

View amilos's full-sized avatar

Aleksandar Milosevic amilos

View GitHub Profile
@amilos
amilos / gist:88cc4ba07868356495dc0608d2f6a552
Created August 17, 2016 06:25 — forked from tjrobinson/gist:0ad6c790e90d7a385eb1
ActiveDirectoryUserService.cs
using System;
using System.Collections.Generic;
using System.DirectoryServices.AccountManagement;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core;
using Thinktecture.IdentityServer.Core.Models;
using Thinktecture.IdentityServer.Core.Services;