Google "rbrayb gist"
#globalazure
http://auckland.azurebootcamp.net/
My presentation
Add a user to Azure AD:
{ | |
"variables": [], | |
"info": { | |
"name": "ADFS Public - Confidential", | |
"_postman_id": "4c0d0604-58e6-35b6-50bc-51c69d779f39", | |
"description": "Confidential code flow.", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ |
{ | |
"variables": [], | |
"info": { | |
"name": "ADFS My IIS", | |
"_postman_id": "f2145f47-b93d-b35a-5707-c115e866bf2b", | |
"description": "Auth code flow.", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ |
/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ValidateJWTConsoleApp | |
{ | |
class Helper | |
{ | |
internal static class AsyncHelper | |
{ |
Functions | Azure AD | Azure AD B2C | ADFS 3.0 | ADFS 4.0 | identityserver | Auth0 | ||
---|---|---|---|---|---|---|---|---|
Authenticate against | Azure AD | Azure AD (but different tenant type to AAD) | AD | AD LDAP v3.0 | In Memory ASP.NET Identity Membership Reboot (Interface can be extended to any repository) | AD SQL DB Auth0 repository |
{ | |
"variables": [], | |
"info": { | |
"name": "ADFS Public Gist", | |
"_postman_id": "98eded09-3ecd-7239-9cf4-a6da2c92809e", | |
"description": "Auth code flow.", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ |
@*Replace existing code with ...*@ | |
@{ | |
ViewBag.Title = "User Claims"; | |
} | |
<h2>Welcome: @ViewBag.ClaimsIdentity.Name</h2> | |
<h3>Values from Identity</h3> | |
<table> | |
<tr> |
Google "rbrayb gist"
#globalazure
http://auckland.azurebootcamp.net/
My presentation
Add a user to Azure AD:
{ | |
"variables": [], | |
"info": { | |
"name": "ADFS Get a JWT", | |
"_postman_id": "3387aed8-7c33-0d50-20ce-596492f661a5", | |
"description": "Auth code flow.", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ |
using System; | |
using System.Security.Cryptography; | |
namespace CNGMediumConsoleApp | |
{ | |
class Program | |
{ | |
static byte[] data = {0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20}; | |
static byte[] privateKey; |