Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
38 * @param {number} xhrStatus Status (HTTP response code) of the XMLHttpRequest.
39 * @return {remoting.Error} An error code to be raised.
54 console.warn('Unexpected authentication response code: ' + xhrStatus);
106 * Asynchronously exchanges an authorization code for access and refresh tokens.
115 * @param {string} code OAuth2 authorization code.
116 * @param {string} redirectUri Redirect URI used to obtain this code.
120 onDone, onError, clientId, clientSecret, code, redirectUri) {
137 console.error('Failed to exchange code for token. Status: ' + xhr.status +
147 'code': code,