public WebViewPage() { InitializeComponent(); var service = new HueService("", "", ""); var url = service.GetHueURL("", ""); webView.Source = new Uri(url); webView.Navigated += WebView_Navigated; }
/// <summary> /// Opens the browser to Hue Auth /// </summary> /// <param name="obj"></param> private async void ExecuteAuthBrowserCommandAsync(object obj) { var service = new HueService("", "", ""); await Browser.OpenAsync(service.GetHueURL("", ""), BrowserLaunchMode.SystemPreferred); }