SecureBlackbox 2020 C++ Edition

Questions / Feedback?

LaunchBrowser Event

Fires to show the login page to the end-user.

Syntax

ANSI (Cross Platform)
virtual int FireLaunchBrowser(OAuthClientLaunchBrowserEventParams *e);
typedef struct {
const char *URL;
int Handled; int reserved; } OAuthClientLaunchBrowserEventParams; Unicode (Windows) virtual INT FireLaunchBrowser(OAuthClientLaunchBrowserEventParams *e);
typedef struct {
LPCWSTR URL;
BOOL Handled; INT reserved; } OAuthClientLaunchBrowserEventParams;
- (void)onLaunchBrowser:(NSString*)URL :(int*)handled;
#define EID_OAUTHCLIENT_LAUNCHBROWSER 4

virtual INT SECUREBLACKBOX_CALL FireLaunchBrowser(LPSTR &lpszURL, BOOL &bHandled);

Remarks

Subscribe to this event to respond to requests from the component to open the URL in the browser. Set Handled to true to report that the URL has been opened in the browser.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]