HomeSort by relevance Sort by last modified time
    Searched refs:oauth (Results 1 - 25 of 36) sorted by null

1 2

  /external/oauth/core/src/main/java/net/oauth/http/
HttpClient.java 17 package net.oauth.http;
20 import net.oauth.OAuthMessage;
HttpResponseMessage.java 17 package net.oauth.http;
HttpMessageDecoder.java 17 package net.oauth.http;
  /external/oauth/core/src/main/java/net/oauth/
OAuthValidator.java 16 package net.oauth;
37 * The implementation should throw exceptions that conform to the OAuth
38 * <a href="http://wiki.oauth.net/ProblemReporting">Problem Reporting extension</a>.
OAuthException.java 16 package net.oauth;
19 * Superclass for extensions thrown by the OAuth library.
OAuthServiceProvider.java 17 package net.oauth;
22 * Properties of an OAuth Service Provider.
OAuthConsumer.java 17 package net.oauth;
22 import net.oauth.http.HttpMessage;
25 * Properties of an OAuth Consumer. Properties may be added freely, e.g. to
66 * href="http://oauth.pbwiki.com/AccessorSecret">Accessor Secret</a>.
OAuthProblemException.java 17 package net.oauth;
21 import net.oauth.http.HttpMessage;
22 import net.oauth.http.HttpResponseMessage;
25 * Describes an OAuth-related problem, using a set of named parameters. One
28 * response that conforms to the OAuth <a
29 * href="http://wiki.oauth.net/ProblemReporting">Problem Reporting
OAuthAccessor.java 17 package net.oauth;
25 import net.oauth.http.HttpMessage;
87 message.getHeaders().add(new OAuth.Parameter(HttpMessage.ACCEPT_ENCODING, accepted.toString()));
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...]
  /external/oauth/core/src/main/java/net/oauth/client/httpclient4/
HttpClientPool.java 17 package net.oauth.client.httpclient4;
HttpClient4.java 17 package net.oauth.client.httpclient4;
23 import net.oauth.client.ExcerptInputStream;
24 import net.oauth.http.HttpMessage;
25 import net.oauth.http.HttpResponseMessage;
42 * Utility methods for an OAuth client based on the <a
48 public class HttpClient4 implements net.oauth.http.HttpClient {
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/oauth/core/src/main/java/net/oauth/client/
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()));
URLConnectionClient.java 17 package net.oauth.client;
28 import net.oauth.http.HttpClient;
29 import net.oauth.http.HttpMessage;
30 import net.oauth.http.HttpResponseMessage;
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...]
ExcerptInputStream.java 1 package net.oauth.client;
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/chrome/common/extensions/docs/examples/apps/hello-java/
HelloLicenseServlet.java 3 * program logs the user in with OpenID, fetches their license state with OAuth,
25 import oauth.signpost.OAuthConsumer;
26 import oauth.signpost.basic.DefaultOAuthConsumer;
72 OAuthConsumer oauth = local
74 oauth.setTokenWithSecret(TOKEN, TOKEN_SECRET);
83 oauth.sign(http);
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/workspace/HelloLicense/src/com/example/
HelloLicenseServlet.java 3 * program logs the user in with OpenID, fetches their license state with OAuth,
25 import oauth.signpost.OAuthConsumer;
26 import oauth.signpost.basic.DefaultOAuthConsumer;
72 OAuthConsumer oauth = local
74 oauth.setTokenWithSecret(TOKEN, TOKEN_SECRET);
83 oauth.sign(http);
  /external/oauth/core/src/main/java/
Android.mk 5 LOCAL_MODULE := oauth

Completed in 384 milliseconds

1 2