Esempio n. 1
0
 // Remove user and record
 public void SignOut()
 {
     App.ApplicationSettings.Remove(GOOGLE_DRIVE_USER_KEY);
     App.ApplicationSettings.Remove(GOOGLE_DRIVE_SIGN_IN_KEY);
     StorageExplorer.RemoveKey(this.GetStorageName());
     this.CurrentAccount = null;
 }
Esempio n. 2
0
 // Remove user and record
 public void SignOut()
 {
     App.ApplicationSettings.Remove(DROPBOX_USER_KEY);
     App.ApplicationSettings.Remove(DROPBOX_SIGN_IN_KEY);
     StorageExplorer.RemoveKey(this.GetStorageName());
     //this._client = null;
     this.CurrentAccount = null;
 }
        // Remove user and record
        public void SignOut()
        {
            LiveAuthClient liveAuthClient = new LiveAuthClient(LIVE_CLIENT_ID);

            liveAuthClient.Logout();
            App.ApplicationSettings.Remove(ONE_DRIVE_SIGN_IN_KEY);
            StorageExplorer.RemoveKey(this.GetStorageName());
            this.LiveClient     = null;
            this.CurrentAccount = null;
        }