~fitbit-accomplishment-maintainers/account-plugin-fitbit/trunk

« back to all changes in this revision

Viewing changes to src/fitbit.vala

  • Committer: Chris Wayne
  • Date: 2012-12-06 16:04:06 UTC
  • Revision ID: chris.wayne@canonical.com-20121206160406-g77wyzzlnitaavvt
Fixed the popup with cookie-eater

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        oauth_params.insert ("ConsumerKey", Config.FITBIT_CONSUMER_KEY);
16
16
        oauth_params.insert ("ConsumerSecret", Config.FITBIT_CONSUMER_SECRET);
17
17
        oauth_params.insert ("Callback", "https://www.fitbit.com/");
 
18
        string[] schemes = {
 
19
            "https",
 
20
            "http"
 
21
        };
 
22
        oauth_params.insert ("AllowedSchemes", schemes);
18
23
        set_oauth_parameters (oauth_params);
19
24
 
20
25
        set_mechanism(Ap.OAuthMechanism.HMAC_SHA1);