var tokenResponse = await httpClient.RequestClientCredentialsTokenAsync(new ClientCredentialsTokenRequest { Address = "https://identityServerUrl/connect/token", ClientId = "clientId", ClientSecret = "seeecrit" Scope = "address email" }); if (tokenResponse.IsError) { MessageBox.Show($"Error: {tokenResponse.Error}"); return; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)