/external/oauth/core/src/main/java/net/oauth/ |
OAuthMessage.java | 17 package net.oauth; 33 import net.oauth.http.HttpMessage; 34 import net.oauth.signature.OAuthSignatureMethod; 37 * A request or response message used in the OAuth protocol. 58 this.parameters.add(new OAuth.Parameter( 97 addParameter(new OAuth.Parameter(key, value)); 116 return getParameter(OAuth.OAUTH_CONSUMER_KEY); 120 return getParameter(OAuth.OAUTH_TOKEN); 124 return getParameter(OAuth.OAUTH_SIGNATURE_METHOD); 128 return getParameter(OAuth.OAUTH_SIGNATURE) [all...] |
SimpleOAuthValidator.java | 16 package net.oauth; 21 import net.oauth.signature.OAuthSignatureMethod; 38 * of date, or with a OAuth version other than 1.0, or with an invalid 42 this(DEFAULT_TIMESTAMP_WINDOW, Double.parseDouble(OAuth.VERSION_1_0)); 74 String versionString = message.getParameter(OAuth.OAUTH_VERSION); 88 message.requireParameters(OAuth.OAUTH_TIMESTAMP, OAuth.OAUTH_NONCE); 89 long timestamp = Long.parseLong(message.getParameter(OAuth.OAUTH_TIMESTAMP)) * 1000L; 102 message.requireParameters(OAuth.OAUTH_CONSUMER_KEY, 103 OAuth.OAUTH_SIGNATURE_METHOD, OAuth.OAUTH_SIGNATURE) [all...] |
OAuthAccessor.java | 17 package net.oauth; 25 import net.oauth.http.HttpMessage; 87 message.getHeaders().add(new OAuth.Parameter(HttpMessage.ACCEPT_ENCODING, accepted.toString()));
|
OAuth.java | 17 package net.oauth; 34 public class OAuth { 41 /** The MIME type for a sequence of OAuth parameters. */ 89 * name/value pairs. Use OAuth percent encoding (not exactly the encoding 150 p.append(OAuth.percentEncode(toString(v))); 161 // OAuth encodes some characters differently: 173 // This implements http://oauth.pbwiki.com/FlexibleDecoding
|
/external/oauth/core/src/main/java/net/oauth/client/ |
OAuthClient.java | 17 package net.oauth.client; 29 import net.oauth.OAuth; 30 import net.oauth.OAuthAccessor; 31 import net.oauth.OAuthConsumer; 32 import net.oauth.OAuthException; 33 import net.oauth.OAuthMessage; 34 import net.oauth.OAuthProblemException; 35 import net.oauth.http.HttpClient; 36 import net.oauth.http.HttpMessage [all...] |
OAuthResponseMessage.java | 17 package net.oauth.client; 22 import net.oauth.OAuth; 23 import net.oauth.OAuthMessage; 24 import net.oauth.OAuthProblemException; 25 import net.oauth.http.HttpMessage; 26 import net.oauth.http.HttpResponseMessage; 43 for (OAuth.Parameter parameter : decodeAuthorization(header.getValue())) { 72 addParameters(OAuth.decodeForm(body.trim()));
|
URLConnectionResponse.java | 17 package net.oauth.client; 26 import net.oauth.OAuth; 27 import net.oauth.http.HttpMessage; 28 import net.oauth.http.HttpResponseMessage; 40 * from OAuth WWW-Authenticate headers and the body. The header parameters 82 headers.add(new OAuth.Parameter(name, value)); 89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
PLAINTEXT.java | 17 package net.oauth.signature; 19 import net.oauth.OAuth; 20 import net.oauth.OAuthException; 41 signature = OAuth.percentEncode(getConsumerSecret()) + '&' 42 + OAuth.percentEncode(getTokenSecret());
|
HMAC_SHA1.java | 17 package net.oauth.signature; 27 import net.oauth.OAuth; 28 import net.oauth.OAuthException; 67 String keyString = OAuth.percentEncode(getConsumerSecret()) 68 + '&' + OAuth.percentEncode(getTokenSecret()); 81 private static final String ENCODING = OAuth.ENCODING;
|
OAuthSignatureMethod.java | 17 package net.oauth.signature; 28 import net.oauth.OAuth; 29 import net.oauth.OAuthAccessor; 30 import net.oauth.OAuthConsumer; 31 import net.oauth.OAuthException; 32 import net.oauth.OAuthMessage; 33 import net.oauth.OAuthProblemException; 40 * A pair of algorithms for computing and verifying an OAuth digital signature. 52 message.addParameter(new OAuth.Parameter("oauth_signature" [all...] |
RSA_SHA1.java | 17 package net.oauth.signature; 32 import net.oauth.OAuth; 33 import net.oauth.OAuthAccessor; 34 import net.oauth.OAuthException; 37 * Class to handle RSA-SHA1 signatures on OAuth requests. A consumer 193 byte[] signature = sign(baseString.getBytes(OAuth.ENCODING)); 207 baseString.getBytes(OAuth.ENCODING));
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/ |
chrome_ex_oauth.js | 8 * @param {String} url_request_token The OAuth request token URL. 9 * @param {String} url_auth_token The OAuth authorize token URL. 10 * @param {String} url_access_token The OAuth access token URL. 11 * @param {String} consumer_key The OAuth consumer key. 12 * @param {String} consumer_secret The OAuth consumer secret. 13 * @param {String} oauth_scope The OAuth scope parameter. 49 * Initializes the OAuth helper from the background page. You must call this 50 * before attempting to make any OAuth calls. 53 * "request_url" {String} OAuth request token URL. 54 * "authorize_url" {String} OAuth authorize token URL [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/ |
chrome_ex_oauth.js | 8 * @param {String} url_request_token The OAuth request token URL. 9 * @param {String} url_auth_token The OAuth authorize token URL. 10 * @param {String} url_access_token The OAuth access token URL. 11 * @param {String} consumer_key The OAuth consumer key. 12 * @param {String} consumer_secret The OAuth consumer secret. 13 * @param {String} oauth_scope The OAuth scope parameter. 49 * Initializes the OAuth helper from the background page. You must call this 50 * before attempting to make any OAuth calls. 53 * "request_url" {String} OAuth request token URL. 54 * "authorize_url" {String} OAuth authorize token URL [all...] |
background.js | 5 var oauth = ChromeExOAuth.initBackgroundPage({ variable 12 'app_name' : 'Sample - OAuth Contacts' 18 if (oauth.hasToken()) { 52 oauth.authorize(function() { 56 oauth.sendSignedRequest(url, onContacts, { 66 oauth.clearTokens();
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpMethodResponse.java | 17 package net.oauth.client.httpclient4; 25 import net.oauth.OAuth; 26 import net.oauth.client.ExcerptInputStream; 27 import net.oauth.http.HttpMessage; 28 import net.oauth.http.HttpResponseMessage; 48 * from OAuth WWW-Authenticate headers and the body. The header parameters 85 headers.add(new OAuth.Parameter(header.getName(), header.getValue()));
|
/external/chromium_org/remoting/webapp/ |
oauth2_api.js | 78 // remoting.js, otherwise this won't work from the OAuth trampoline. 126 // remoting.js, otherwise this won't work from the OAuth trampoline. 182 var headers = { 'Authorization': 'OAuth ' + token };
|
third_party_token_fetcher.js | 32 * @param {string} scope OAuth scope to request the token for. 111 // In the OAuth code/token exchange semantics, 'code' refers to the value 140 // The webapp uses an "implicit" OAuth flow with multiple response types to
|
oauth2.js | 9 * Uses a content script to trampoline the OAuth redirect page back into the 259 * Processes the results of the oauth flow. 262 * OAuth redirect URL parameters. 291 * @param {string} state The state parameter received from the OAuth redirect.
|
host_list.js | 174 var headers = { 'Authorization': 'OAuth ' + token }; 357 'Authorization': 'OAuth ' + token, 386 var headers = { 'Authorization': 'OAuth ' + token };
|
client_screen.js | 233 * @param {string} scope OAuth scope to request the token for.
|
host_screen.js | 81 * @param {string} token The OAuth access token.
|
host_controller.js | 276 'Authorization': 'OAuth ' + oauthToken,
|
host_daemon_facade.js | 516 * @param {string} authorizationCode OAuth authorization code.
|
remoting.js | 375 * OAuth refresh token.
|
/external/chromium_org/remoting/webapp/background/ |
it2me_helpee_channel.js | 381 * @return {Promise} Promise that resolves with the OAuth token as the value.
|