string clientId = "your client id";
string clientSecret = "your client secret";
string redirectUri = "KitchenSink://response/";
string scope = "webex:all";
var auth = new OAuthAuthenticator(clientId, clientSecret, scope, redirectUri);
// authCode(64 bits) can be extracted from url by loading auth.authorizationUrl with a WebBrowser
var webex = new Webex(auth);
auth?.Authorize(authCode, result =>
{
if (result.Success)
{
System.Console.WriteLine("authorize success!");
}
else
{
System.Console.WriteLine("authorize failed!");
}
});
1).in Above code it doesn't go inside result => {. .can anyone know how to do it?
2). If anyone have other ways to authorize in webex, plz suggest for c#