mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Use popup browser for AAD auth in SDL client
Optionally build the SDL client with Qt WebEngine to create a popup browser for authentication to AAD. Also change the URL output on the command line to use the "nativeclient" redirect for easier copy/pasting of the authorization code.
This commit is contained in:
@@ -157,7 +157,8 @@ extern "C"
|
||||
FREERDP_API int client_cli_logon_error_info(freerdp* instance, UINT32 data, UINT32 type);
|
||||
|
||||
FREERDP_API BOOL client_cli_get_aad_auth_code(freerdp* instance, const char* hostname,
|
||||
char** code);
|
||||
char** code, const char** client_id,
|
||||
const char** redirect_uri);
|
||||
|
||||
FREERDP_API void
|
||||
freerdp_client_OnChannelConnectedEventHandler(void* context,
|
||||
|
||||
@@ -126,7 +126,8 @@ extern "C"
|
||||
char** domain, rdp_auth_reason reason);
|
||||
typedef BOOL (*pChooseSmartcard)(freerdp* instance, SmartcardCertInfo** cert_list, DWORD count,
|
||||
DWORD* choice, BOOL gateway);
|
||||
typedef BOOL (*pGetAadAuthCode)(freerdp* instance, const char* hostname, char** code);
|
||||
typedef BOOL (*pGetAadAuthCode)(freerdp* instance, const char* hostname, char** code,
|
||||
const char** client_id, const char** redirect_uri);
|
||||
|
||||
/** @brief Callback used if user interaction is required to accept
|
||||
* an unknown certificate.
|
||||
|
||||
Reference in New Issue
Block a user