OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OAuth
(Results
1 - 16
of
16
) sorted by null
/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/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/autotest/client/common_lib/cros/fake_device_server/
oauth.py
13
OAUTH_PATH = '
oauth
'
21
class
OAuth
(object):
22
"""The bare minimum to make Buffet think its talking to
OAuth
."""
63
in the request body in query-string format (see the
OAuth
docs
101
400, 'Unsupported
oauth
path %s' % path)
devices_unittest.py
16
from fake_device_server import
oauth
29
self.
oauth
=
oauth
.
OAuth
(self.fail_control)
30
self.commands = commands.Commands(self.
oauth
, self.fail_control)
34
self.
oauth
,
server.py
23
from fake_device_server import
oauth
48
oauth_handler =
oauth
.
OAuth
(fail_control_handler)
80
'/' +
oauth
.OAUTH_PATH,
registration_tickets_unittest.py
17
from fake_device_server import
oauth
32
self.
oauth
=
oauth
.
OAuth
(self.fail_control)
33
self.commands = commands.Commands(self.
oauth
, self.fail_control)
37
self.
oauth
,
Completed in 550 milliseconds