Lines Matching refs:code
2 // Use of this source code is governed by a BSD-style license that can be
45 * @param {number} xhrStatus Status (HTTP response code) of the XMLHttpRequest.
46 * @return {remoting.Error} An error code to be raised.
61 console.warn('Unexpected authentication response code: ' + xhrStatus);
113 * Asynchronously exchanges an authorization code for access and refresh tokens.
122 * @param {string} code OAuth2 authorization code.
123 * @param {string} redirectUri Redirect URI used to obtain this code.
127 onDone, onError, clientId, clientSecret, code, redirectUri) {
144 console.error('Failed to exchange code for token. Status: ' + xhr.status +
154 'code': code,