Example #1
0
        private void handleManualAuth()
        {
            if (accountStore != null)
            {
                accountStore.Dispose();
                accountStore = null;
            }

            Notification n = new Notification(LocalisationManager.GetString(OsuString.AccessNotGranted),
                                              LocalisationManager.GetString(OsuString.AccessNotGrantedDetails),
                                              NotificationStyle.YesNo,
                                              delegate(bool resp) {
                if (resp)
                {
                    HandleTwitterOAuth();
                }
            });

            GameBase.Notify(n);
        }
 public void Dispose()
 {
     accountStore.Dispose();
 }