/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()
|
/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/python/google-api-python-client/docs/ |
D | oauth-web.md | 1 # Using OAuth 2.0 for Web Server Applications 3 …OAuth 2.0 authorization to access Google APIs. OAuth 2.0 allows users to share specific data with … 5 This OAuth 2.0 flow is specifically for user authorization. It is designed for applications that ca… 21 …lication that uses OAuth 2.0 to access Google APIs must have authorization credentials that identi… 26 <li>Click <b>Create credentials > OAuth client ID</b>.</li> 31 OAuth 2.0 server can send responses.<br><br> 50 Before you start implementing OAuth 2.0 authorization, we recommend that you identify the scopes th… 54 The [OAuth 2.0 API Scopes document](https://developers.google.com/identity/protocols/googlescopes) …
|
D | oauth-installed.md | 1 # Using OAuth 2.0 for Installed Applications 3 The Google APIs Client Library for Python supports using OAuth 2.0 in applications that are install… 10 …entity) to authenticate your users. The Google Sign-In button manages the OAuth 2.0 flow both for … 12 …p will run on game consoles, video cameras, or printers), then see [Using OAuth 2.0 for Devices](h… 16 To use OAuth 2.0 in a locally-installed application, first create application credentials for your … 18 …with a Google API, your application sends the user to Google's OAuth 2.0 server. The OAuth 2.0 ser… 20 Next, Google's OAuth 2.0 server sends a single-use authorization code to your application, either i… 24 This flow is similar to the one shown in the [Using OAuth 2.0 for Web Server Applications](https://… 32 All applications that use OAuth 2.0 must have credentials that identify the application to the OAut… 37 … haven't done so already, create your OAuth 2.0 credentials by clicking **Create new Client ID** u… [all …]
|
D | api-keys.md | 5 …OAuth 2.0. See [Using OAuth 2.0 for Installed Applications](oauth-installed.md), [Using OAuth 2.0 …
|
D | oauth.md | 1 # OAuth 2.0 3 This document describes OAuth 2.0, when to use it, how to acquire client IDs, and how to use it wit… 5 ## OAuth 2.0 explained 7 OAuth 2.0 is the authorization protocol used by Google APIs. It is summarized on the [Authenticatio… 9 * [The OAuth 2.0 Authorization Protocol](https://tools.ietf.org/html/rfc6749) 10 * [Using OAuth 2.0 to Access Google APIs](https://developers.google.com/accounts/docs/OAuth2) 26 ….io/en/latest/reference/modules.html) library should be used for handling OAuth 2.0 protocol steps… 30 …our application access to user data. In order for a user to grant access, OAuth 2.0 steps require … 34 …nt or applications that are installed on a desktop operating system. See [OAuth 2.0 for Installed … 52 …www.json.org/) formatted file stores your client ID, client secret, and other OAuth 2.0 parameters. [all …]
|
D | README.md | 22 - [OAuth 2.0](oauth.md) 23 - [OAuth 2.0 for Web Server Applications](oauth-web.md) 24 - [OAuth 2.0 for Installed Applications](oauth-installed.md) 25 - [OAuth 2.0 for Server to Server Applications](oauth-server.md)
|
D | auth.md | 17 ### 2. Authorized API access (OAuth 2.0) 19 …enticated in order to grant that access. All of this is accomplished with OAuth 2.0 and libraries … 23 **Refresh and access tokens:** When a user grants your application access, the OAuth 2.0 authorizat… 39 ## Using OAuth 2.0 41 More information and examples for OAuth 2.0 are provided on the [OAuth 2.0](oauth.md) page.
|
D | client-secrets.md | 3 …ets.json` file format for storing the `client_id`, `client_secret`, and other OAuth 2.0 parameters. 7 …n.org/) formatted file containing the client ID, client secret, and other OAuth 2.0 parameters. He… 81 …OAuth endpoints have relied upon cut-and-paste as the way users of their service move the client i…
|
D | oauth-server.md | 1 # Using OAuth 2.0 for Server to Server Applications 3 …OAuth 2.0 for server-to-server interactions such as those between a web application and a Google s… 13 This document describes how an application can complete the server-to-server OAuth 2.0 flow by usin… 19 … using the service account's credentials to request an access token from the OAuth 2.0 auth server. 54 1. Select **Manage third party OAuth Client access** in the **Authentication** section.
|
/external/grpc-grpc/examples/protos/ |
D | auth_sample.proto | 26 // Whether Response should include OAuth scope. 35 // OAuth scope.
|
/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/python/google-api-python-client/samples/appengine/ |
D | README | 2 using the OAuth 2.0 Decorator for Google App Engine applications.
|
/external/python/oauth2client/ |
D | METADATA | 3 "This is a client library for accessing resources protected by OAuth 2.0."
|
/external/curl/docs/cmdline-opts/ |
D | oauth2-bearer.d | 2 Help: OAuth 2 Bearer Token
|
/external/curl/tests/data/ |
D | test870 | 39 POP3 OAuth 2.0 (XOAUTH2) authentication
|
D | test824 | 37 IMAP OAuth 2.0 (XOAUTH2) authentication
|
D | test874 | 39 POP3 OAuth 2.0 (XOAUTH2) authentication with initial response
|