LaunchBrowser Event
Fires to show the login page to the end-user.
Syntax
public event OnLaunchBrowserHandler OnLaunchBrowser; public delegate void OnLaunchBrowserHandler(object sender, OauthclientLaunchBrowserEventArgs e); public class OauthclientLaunchBrowserEventArgs : EventArgs { public string URL { get; } public bool Handled { get; set; } }
Public Event OnLaunchBrowser As OnLaunchBrowserHandler Public Delegate Sub OnLaunchBrowserHandler(sender As Object, e As OauthclientLaunchBrowserEventArgs) Public Class OauthclientLaunchBrowserEventArgs Inherits EventArgs Public ReadOnly Property URL As String Public Property Handled As Boolean End Class
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.