Last active
November 7, 2018 22:13
-
-
Save frankhu-2021/ba87de35d6a9393f550bc3f578955629 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static string resourceUri = "https://graph.microsoft.com"; //Insert your resource here, I will keep this as the MSFT Graph resource | |
private static string clientId = "<your-client-id>"; // Insert your Client ID here | |
private static string redirectUri = "<your-redirect-uri>"; // Insert your redirect URI here (Reply URL of AAD Application Registration) | |
private static string authority = "https://login.microsoftonline.com/"; | |
private static string tenantID = "<your-tenant-id>"; // Insert Your Tenant ID here | |
private static AuthenticationContext authContext = null; | |
private static AuthenticationResult result = null; | |
private static HttpClient httpClient = new HttpClient(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment