Index: remoting/webapp/client_plugin.js |
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js |
index 896d0392e88ce08fac6b646db739a9d8b14d113b..a905bb0ae6c71c6a3faff93c06ef80f7178f1020 100644 |
--- a/remoting/webapp/client_plugin.js |
+++ b/remoting/webapp/client_plugin.js |
@@ -63,6 +63,7 @@ remoting.ClientPlugin.Feature = { |
PAUSE_AUDIO: 'pauseAudio', |
REMAP_KEY: 'remapKey', |
SEND_CLIPBOARD_ITEM: 'sendClipboardItem', |
+ THIRD_PARTY_AUTH: 'thirdPartyAuth', |
TRAP_KEY: 'trapKey' |
}; |
@@ -187,3 +188,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) {}; |