String clientSecretKey = "xxxxx/xxxxxx/xxxxx" String aadTenantId = "xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxxxx" String clientId = "xxxxxx-xxxxx-xxxxx-xxxx-xxxx" string clientSecretKey = "secretKey" // AAD app secret key string aadTenantId = "" //AAD tenant id string clientId = "" // application id of the service principal string databaseName = "" //Database name i.e. string serverName = "" // server name i.e. To obtain the nuget package “”, use the link below If a token display is enabled (as it is in the program below), it can be copied and decoded into a readable form with claims, using īelow is a C# version of the application called Program.cs Console.WriteLine("This is your token: " + authenticationResult.AccessToken) Please note that the token information displaying the access token was commented out in the program output
0 Comments
Leave a Reply. |