/external/oauth/core/src/main/java/net/oauth/ |
D | OAuthMessage.java | 58 this.parameters.add(new OAuth.Parameter( in OAuthMessage() 97 addParameter(new OAuth.Parameter(key, value)); in addParameter() 116 return getParameter(OAuth.OAUTH_CONSUMER_KEY); in getConsumerKey() 120 return getParameter(OAuth.OAUTH_TOKEN); in getToken() 124 return getParameter(OAuth.OAUTH_SIGNATURE_METHOD); in getSignatureMethod() 128 return getParameter(OAuth.OAUTH_SIGNATURE); in getSignature() 134 parameterMap = OAuth.newMap(parameters); in getParameterMap() 240 … OAuthProblemException problem = new OAuthProblemException(OAuth.Problems.PARAMETER_ABSENT); in requireParameters() 241 … problem.setParameter(OAuth.Problems.OAUTH_PARAMETERS_ABSENT, OAuth.percentEncode(absent)); in requireParameters() 255 final Map<String, String> pMap = OAuth.newMap(parameters); in addRequiredParameters() [all …]
|
D | SimpleOAuthValidator.java | 42 this(DEFAULT_TIMESTAMP_WINDOW, Double.parseDouble(OAuth.VERSION_1_0)); in SimpleOAuthValidator() 74 String versionString = message.getParameter(OAuth.OAUTH_VERSION); in validateVersion() 88 message.requireParameters(OAuth.OAUTH_TIMESTAMP, OAuth.OAUTH_NONCE); in validateTimestampAndNonce() 89 long timestamp = Long.parseLong(message.getParameter(OAuth.OAUTH_TIMESTAMP)) * 1000L; in validateTimestampAndNonce() 102 message.requireParameters(OAuth.OAUTH_CONSUMER_KEY, in validateSignature() 103 OAuth.OAUTH_SIGNATURE_METHOD, OAuth.OAUTH_SIGNATURE); in validateSignature()
|
D | OAuth.java | 34 public class OAuth { class 150 p.append(OAuth.percentEncode(toString(v))); in percentEncode()
|
D | OAuthAccessor.java | 87 … message.getHeaders().add(new OAuth.Parameter(HttpMessage.ACCEPT_ENCODING, accepted.toString())); in newRequestMessage()
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | OAuthClient.java | 29 import net.oauth.OAuth; 151 p.add(new OAuth.Parameter("oauth_accessor_secret", in getRequestToken() 159 accessor.requestToken = response.getParameter(OAuth.OAUTH_TOKEN); in getRequestToken() 160 accessor.tokenSecret = response.getParameter(OAuth.OAUTH_TOKEN_SECRET); in getRequestToken() 161 response.requireParameters(OAuth.OAUTH_TOKEN, OAuth.OAUTH_TOKEN_SECRET); in getRequestToken() 187 parameters = OAuth.newList(OAuth.OAUTH_TOKEN, accessor.requestToken); in getAccessToken() 188 } else if (!OAuth.newMap(parameters).containsKey(OAuth.OAUTH_TOKEN)) { in getAccessToken() 190 p.add(new OAuth.Parameter(OAuth.OAUTH_TOKEN, accessor.requestToken)); in getAccessToken() 196 response.requireParameters(OAuth.OAUTH_TOKEN, OAuth.OAUTH_TOKEN_SECRET); in getAccessToken() 197 accessor.accessToken = response.getParameter(OAuth.OAUTH_TOKEN); in getAccessToken() [all …]
|
D | OAuthResponseMessage.java | 22 import net.oauth.OAuth; 43 for (OAuth.Parameter parameter : decodeAuthorization(header.getValue())) { in OAuthResponseMessage() 72 addParameters(OAuth.decodeForm(body.trim())); in completeParameters()
|
D | URLConnectionResponse.java | 26 import net.oauth.OAuth; 82 headers.add(new OAuth.Parameter(name, value)); in getHeaders() 89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection in getHeaders()
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | OAuthSignatureMethod.java | 28 import net.oauth.OAuth; 52 message.addParameter(new OAuth.Parameter("oauth_signature", in sign() 150 parameters.addAll(OAuth.decodeForm(message.URL.substring(q + 1))); in getBaseString() 154 return OAuth.percentEncode(message.method.toUpperCase()) + '&' in getBaseString() 155 + OAuth.percentEncode(normalizeUrl(url)) + '&' in getBaseString() 156 + OAuth.percentEncode(normalizeParameters(parameters)); in getBaseString() 193 return OAuth.formEncode(getParameters(p)); in normalizeParameters() 208 message.requireParameters(OAuth.OAUTH_SIGNATURE_METHOD); in newSigner() 228 String acceptable = OAuth.percentEncode(NAME_TO_CLASS.keySet()); in newMethod() 266 this.key = OAuth.percentEncode(n) + ' ' + OAuth.percentEncode(v); in ComparableParameter()
|
D | HMAC_SHA1.java | 27 import net.oauth.OAuth; 67 String keyString = OAuth.percentEncode(getConsumerSecret()) in computeSignature() 68 + '&' + OAuth.percentEncode(getTokenSecret()); in computeSignature() 81 private static final String ENCODING = OAuth.ENCODING;
|
D | PLAINTEXT.java | 19 import net.oauth.OAuth; 41 signature = OAuth.percentEncode(getConsumerSecret()) + '&' in getSignature() 42 + OAuth.percentEncode(getTokenSecret()); in getSignature()
|
D | RSA_SHA1.java | 32 import net.oauth.OAuth; 193 byte[] signature = sign(baseString.getBytes(OAuth.ENCODING)); in getSignature() 207 baseString.getBytes(OAuth.ENCODING)); in isValid()
|
/external/libweave/examples/daemon/ |
D | README.md | 34 - Go to [OAuth 2.0 Playground](https://developers.google.com/oauthplayground/) 95 - Go to [OAuth 2.0 Playground](https://developers.google.com/oauthplayground/) 116 - Verify the command history with [OAuth 2.0 Playground](https://developers.google.com/oauthplaygro…
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpMethodResponse.java | 25 import net.oauth.OAuth; 85 headers.add(new OAuth.Parameter(header.getName(), header.getValue())); in getHeaders()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/ |
D | README.md | 4 an auth plugin for the [boto] auth plugin framework for use with [OAuth 2.0] 44 [OAuth 2.0]: https://developers.google.com/accounts/docs/OAuth2Login
|
/external/curl/tests/data/ |
D | test870 | 39 POP3 OAuth 2.0 authentication
|
D | test874 | 39 POP3 OAuth 2.0 authentication with initial response
|
D | test828 | 38 IMAP OAuth 2.0 authentication with initial response
|
D | test824 | 37 IMAP OAuth 2.0 authentication
|
D | test908 | 29 SMTP OAuth 2.0 authentication
|
D | test922 | 29 SMTP OAuth 2.0 authentication with initial response
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/ |
D | README.md | 5 This is a client library for accessing resources protected by OAuth 2.0.
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | oauth.py | 21 class OAuth(object): class
|
D | server.py | 48 oauth_handler = oauth.OAuth(fail_control_handler)
|
D | devices_unittest.py | 29 self.oauth = oauth.OAuth(self.fail_control)
|
D | registration_tickets_unittest.py | 32 self.oauth = oauth.OAuth(self.fail_control)
|