From 9616194cfae0a0b3991a47a2e995ada1068c4e24 Mon Sep 17 00:00:00 2001 From: Matchman Green Date: Thu, 26 Apr 2012 02:14:45 +0800 Subject: [PATCH] updated client key and ID --- src/OAuth2.cc | 4 ++-- src/main.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OAuth2.cc b/src/OAuth2.cc index cbfe88d..c4d1774 100644 --- a/src/OAuth2.cc +++ b/src/OAuth2.cc @@ -27,8 +27,8 @@ namespace gr { const std::string token_url = "https://accounts.google.com/o/oauth2/token" ; -const std::string client_id = "472848141496.apps.googleusercontent.com" ; -const std::string client_secret = "hmBLwnBSU24Wombgjbffs6DS" ; +const std::string client_id = "22314510474.apps.googleusercontent.com" ; +const std::string client_secret = "bl4ufi89h-9MkFlypcI7R785" ; OAuth2::OAuth2( const std::string& refresh_code ) : m_refresh( refresh_code ) diff --git a/src/main.cc b/src/main.cc index 326c4b4..1e612db 100644 --- a/src/main.cc +++ b/src/main.cc @@ -36,7 +36,7 @@ int main( int argc, char **argv ) case 'a' : { std::cout << - OAuth2::MakeAuthURL( "472848141496.apps.googleusercontent.com" ) << std::endl ; + OAuth2::MakeAuthURL( "22314510474.apps.googleusercontent.com" ) << std::endl ; return 0 ; }