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(); ```