~online-accounts/account-plugins/trunk

« back to all changes in this revision

Viewing changes to src/foursquare.vala

  • Committer: Tarmac
  • Author(s): Alberto Mardegan
  • Date: 2013-03-19 08:26:40 UTC
  • mfrom: (89.2.6 no-hardcoded-data)
  • Revision ID: tarmac-20130319082640-i78kr22tgbn2vl52
Move most of the authentication settings to the .provider files.

Approved by PS Jenkins bot, David King.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    construct
28
28
    {
29
29
        var oauth_params = new HashTable<string, GLib.Value?> (str_hash, null);
30
 
        oauth_params.insert ("Host", "foursquare.com");
31
 
        oauth_params.insert ("AuthPath", "/oauth2/authenticate");
32
 
        oauth_params.insert ("RedirectUri", "http://gwibber.com/0/auth.html");
33
30
        oauth_params.insert ("ClientId",
34
31
                             "BA0GOA0K3PTRS1KUJ5TTZ1P3GDRH3VJEEXY4N44ROPUJYKPW");
35
 
        oauth_params.insert ("ResponseType", "token");
36
 
        oauth_params.insert ("Display", "touch");
37
32
        set_oauth_parameters (oauth_params);
38
33
    }
39
34
}