OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** @suppress {duplicate} */ | 5 /** @suppress {duplicate} */ |
6 var remoting = remoting || {}; | 6 var remoting = remoting || {}; |
7 | 7 |
8 /** | 8 /** |
9 * Interface used for ClientPlugin objects. | 9 * Interface used for ClientPlugin objects. |
10 * @interface | 10 * @interface |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 * Gives the client authenticator the PIN. | 180 * Gives the client authenticator the PIN. |
181 * | 181 * |
182 * @param {string} pin The PIN. | 182 * @param {string} pin The PIN. |
183 */ | 183 */ |
184 remoting.ClientPlugin.prototype.onPinFetched = function(pin) {}; | 184 remoting.ClientPlugin.prototype.onPinFetched = function(pin) {}; |
185 | 185 |
186 /** | 186 /** |
187 * Tells the plugin to ask for the PIN asynchronously. | 187 * Tells the plugin to ask for the PIN asynchronously. |
188 */ | 188 */ |
189 remoting.ClientPlugin.prototype.useAsyncPinDialog = function() {}; | 189 remoting.ClientPlugin.prototype.useAsyncPinDialog = function() {}; |
| 190 |
| 191 /** |
| 192 * Sets the third party authentication token and shared secret. |
| 193 * |
| 194 * @param {string} token The token received from the token URL. |
| 195 * @param {string} sharedSecret Shared secret received from the token URL. |
| 196 */ |
| 197 remoting.ClientPlugin.prototype.onThirdPartyTokenFetched = |
| 198 function(token, sharedSecret) {}; |
OLD | NEW |