public ActionResult AuthCallback(string code)
 {
     if (code != null)
     {
         //Retrieving token
         var _authInfo = authWorker.GetAuthInfo(code);
         if (_authInfo.Success)
         {
             //Simulating token expiration - calling refresh
             //In real application you shall do it only when token is expired
             //So this call can be safely removed here
             _authInfo = authWorker.RefreshToken(_authInfo.Token.refresh_token);
             if (_authInfo.Success)
             {
                 var _listFiles = new BasicApiWorker(_authInfo.Token, Options.ApiUrl).ListFiles();
                 return(View("FilesList", _listFiles));
             }
         }
         return(new ContentResult {
             Content = "Error while retrieving access token:" + _authInfo.ErrorMessage
         });
     }
     return(new ContentResult {
         Content = "User cancelled the auth sequence"
     });
 }