Description
We should refactor the AzureBotUserAuthorization (and below) to not rely on exceptions as a signal. i.e., Throw an exception to indicate ConsentRequired, or Timeout. Those should be return values.
The challenge is that base OAuthFlow exists for back-compat with Dialog.OAuthPrompt. So that would require some consideration and refactoring elsewhere. One option might be to have OAuthPrompt use that handler.
Description
We should refactor the AzureBotUserAuthorization (and below) to not rely on exceptions as a signal. i.e., Throw an exception to indicate ConsentRequired, or Timeout. Those should be return values.
The challenge is that base OAuthFlow exists for back-compat with Dialog.OAuthPrompt. So that would require some consideration and refactoring elsewhere. One option might be to have OAuthPrompt use that handler.