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

1 2

  /external/curl/lib/vauth/
oauth2.c 21 * RFC6749 OAuth 2.0 Authorization Framework
42 * This is used to generate an already encoded OAuth 2.0 message ready for
66 char *oauth = NULL; local
70 oauth = aprintf("user=%s\1auth=Bearer %s\1\1", user, bearer);
72 oauth = aprintf("user=%s\1host=%s\1auth=Bearer %s\1\1", user, host,
75 oauth = aprintf("user=%s\1host=%s\1port=%ld\1auth=Bearer %s\1\1", user,
77 if(!oauth)
81 result = Curl_base64_encode(data, oauth, strlen(oauth), outptr, outlen);
83 free(oauth);
    [all...]
  /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()));
ConsumerProperties.java 17 package net.oauth;
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/http/
HttpClient.java 17 package net.oauth.http;
20 import net.oauth.OAuthMessage;
HttpMessageDecoder.java 17 package net.oauth.http;
HttpResponseMessage.java 17 package net.oauth.http;
HttpMessage.java 17 package net.oauth.http;
28 import net.oauth.client.ExcerptInputStream;
  /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;
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));
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...]
  /external/oauth/core/src/main/java/net/oauth/client/
ExcerptInputStream.java 1 package 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;
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
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...]

Completed in 2058 milliseconds

1 2