From 234f518e864c8f9a66112eab21308f430cf2d434 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Thu, 30 Sep 2021 08:47:04 +0200 Subject: [PATCH] Updated Admin API Reference (markdown) --- Admin-API-Reference.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Admin-API-Reference.md b/Admin-API-Reference.md index 77c97e8..0af08d1 100644 --- a/Admin-API-Reference.md +++ b/Admin-API-Reference.md @@ -16,6 +16,11 @@ var api = RestClient.For("http://localhost:9091"); // Set BASIC Authorization api.Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(Encoding.ASCII.GetBytes("foo:bar"))); +// OR + +// Set Azure ADAuthorization +api.Authorization = new AuthenticationHeaderValue("Bearer", "eyJ0eXAiOiJKV1QiLCJ..."); + // Call API var settings = await api.GetSettingsAsync(); ```