Пример #1
0
 public OAuthHelper(string clientID, string clientSecret, string redirectURL, string environment)
 {
     // Instantiate object
     oauth2Client           = new OAuth2Client(clientID, clientSecret, redirectURL, environment); // environment is "sandbox" or "production"
     oauth2Client.CSRFToken = oauth2Client.GenerateCSRFToken();
 }