Lines Matching refs:secret
14 * @param {String} consumer_secret The OAuth consumer secret.
59 * "consumer_secret" {String} OAuth consumer secret.
96 * secret {String} The OAuth access token secret.
102 window.chromeExOAuthOnAuthorize = function(token, secret) {
103 callback(token, secret);
172 var secret = this.getTokenSecret();
173 if (!token || !secret) {
174 throw new Error("No oauth token or token secret");
186 oauth_secret : secret,
203 var secret = this.getTokenSecret();
204 if (!token || !secret) {
205 throw new Error("No oauth token or token secret");
217 oauth_secret : secret,
236 * "consumer_secret" {String} OAuth consumer secret.
269 oauth.initOAuthFlow(function (token, secret) {
270 background_page.chromeExOAuthOnAuthorize(token, secret);
412 * Stores an OAuth token secret for the configured scope.
413 * @param {String} secret The secret to store.
415 ChromeExOAuth.prototype.setTokenSecret = function(secret) {
416 localStorage[this.key_token_secret + encodeURI(this.oauth_scope)] = secret;
420 * Retrieves any stored secret for the configured scope.
421 * @return {String} The stored secret.
437 * secretsecret.
502 * secret for later use and sends the authorization url to the supplied
538 * secret {String} The OAuth access token secret.
569 * access token secret for later use and sends them to the supplied callback.
573 * secret {String} The OAuth access token secret.
583 var secret = params["oauth_token_secret"];
585 this.setTokenSecret(secret);
587 callback(token, secret);