Ejemplo n.º 1
0
 void authProcess_AuthSuccess(object sender, AuthorizationWindow.AuthEventArgs e)
 {
     if (e != null)
     {
         if (e.success)
         {
             MessageBox.Show(e.accessToken, "Access token");
             Tuple <Token, ApiCallResponse> token = Tokens.get(e.accessToken);
             this.textboxAccessToken.Text = e.accessToken;
         }
         else
         {
             MessageBox.Show(e.error, "Authorization failed");
         }
     }
 }
Ejemplo n.º 2
0
 void authWindowServerSide_AuthSuccess(object sender, AuthorizationWindow.AuthEventArgs e)
 {
     AuthSuccess(this, e);
 }
Ejemplo n.º 3
0
 static void authWindow_AuthSuccess(object sender, AuthorizationWindow.AuthEventArgs e)
 {
     if (e != null)
     {
     }
 }