diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 20:08:40 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 20:08:40 +0000 |
commit | b8f85978f9e45f66eec6b8581b8ae54f46014da0 (patch) | |
tree | 5fd56df69a5255519e591e2367b89d0dd3f91921 /remoting/host/host_config.cc | |
parent | 05454a435deac9bce39960ea21e218ebde7d17b5 (diff) | |
download | chromium_src-b8f85978f9e45f66eec6b8581b8ae54f46014da0.zip chromium_src-b8f85978f9e45f66eec6b8581b8ae54f46014da0.tar.gz chromium_src-b8f85978f9e45f66eec6b8581b8ae54f46014da0.tar.bz2 |
Implemented OAuth2 support for remoting_me2me_host.
Note that this still doesn't allow hosts to be registered using OAuth, as that's
still the domain of the Python script.
BUG=None
TEST=Modify auth.json so that the xmpp_auth_token is your OAuth refresh token (get it from the web-apps local storage) and add the following line: "xmpp_auth_service": "oauth-refresh"
Review URL: http://codereview.chromium.org/9721008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_config.cc')
-rw-r--r-- | remoting/host/host_config.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/host_config.cc b/remoting/host/host_config.cc index 8841b8b..96053e6 100644 --- a/remoting/host/host_config.cc +++ b/remoting/host/host_config.cc @@ -9,6 +9,7 @@ namespace remoting { const char kHostEnabledConfigPath[] = "enabled"; const char kXmppLoginConfigPath[] = "xmpp_login"; const char kXmppAuthTokenConfigPath[] = "xmpp_auth_token"; +const char kOAuthRefreshTokenConfigPath[] = "oauth_refresh_token"; const char kXmppAuthServiceConfigPath[] = "xmpp_auth_service"; const char kHostIdConfigPath[] = "host_id"; const char kHostNameConfigPath[] = "host_name"; |