Index: remoting/webapp/client_plugin.js |
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js |
index fe3a9cd23f073cfbd064e9bbe0c5b91ec339d27c..6c5eff4368919003a5ed628179170a70dfdeb357 100644 |
--- a/remoting/webapp/client_plugin.js |
+++ b/remoting/webapp/client_plugin.js |
@@ -65,6 +65,7 @@ remoting.ClientPlugin.Feature = { |
PAUSE_AUDIO: 'pauseAudio', |
REMAP_KEY: 'remapKey', |
SEND_CLIPBOARD_ITEM: 'sendClipboardItem', |
+ THIRD_PARTY_AUTH: 'thirdPartyAuth', |
TRAP_KEY: 'trapKey' |
}; |
@@ -189,3 +190,12 @@ remoting.ClientPlugin.prototype.onPinFetched = function(pin) {}; |
* Tells the plugin to ask for the PIN asynchronously. |
*/ |
remoting.ClientPlugin.prototype.useAsyncPinDialog = function() {}; |
+ |
+/** |
+ * Sets the third party authentication token and shared secret. |
+ * |
+ * @param {string} token The token received from the token URL. |
+ * @param {string} sharedSecret Shared secret received from the token URL. |
+ */ |
+remoting.ClientPlugin.prototype.onThirdPartyTokenFetched = |
+ function(token, sharedSecret) {}; |