/// <summary> /// Start the Authorization procedure. /// </summary> internal SHDocVw.WebBrowser Subscribe() { _oauthData = UIController.Proxy.GetOAuthData(UIController.MyProfile.Username, UIController.Password, Service.Id); if (_oauthData != null) return UIController.Browse(_oauthData.AuthorizationLink); else return null; }
private void Authorized() { Service.Registered = true; ToolTip = "Select " + Service.Name + " features"; Active.Fill = new SolidColorBrush(Color.FromRgb(0, 192, 0)); _oauthData = null; }