Skip to content

Commit 9a525c6

Browse files
author
ogorkun
committed
AC-1344: Update Integrations
1 parent 38c81aa commit 9a525c6

File tree

2 files changed

+1
-45
lines changed

2 files changed

+1
-45
lines changed

lib/internal/Magento/Framework/Oauth/Helper/Request.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,7 @@ public function getRequestUrl($httpRequest)
6363
* @param string $contentTypeHeader
6464
* @param string $requestBodyString
6565
* @param string $requestUrl
66-
* @return array
67-
* merged array of oauth protocols and request parameters. eg :
68-
* <pre>
69-
* array (
70-
* 'oauth_version' => '1.0',
71-
* 'oauth_signature_method' => 'HMAC-SHA1',
72-
* 'oauth_nonce' => 'rI7PSWxTZRHWU3R',
73-
* 'oauth_timestamp' => '1377183099',
74-
* 'oauth_consumer_key' => 'a6aa81cc3e65e2960a4879392445e718',
75-
* 'oauth_signature' => 'VNg4mhFlXk7%2FvsxMqqUd5DWIj9s%3D'
76-
* )
77-
* </pre>
66+
* @return array Merged array of oauth protocols and request parameters.
7867
*/
7968
protected function _processRequest($authHeaderValue, $contentTypeHeader, $requestBodyString, $requestUrl)
8069
{

lib/internal/Magento/Framework/Oauth/OauthInterface.php

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,6 @@ interface OauthInterface
7373
* Issue a pre-authorization request token to the caller.
7474
*
7575
* @param array $params - Array containing parameters necessary for requesting Request Token.
76-
* <pre>
77-
* array (
78-
* 'oauth_version' => '1.0',
79-
* 'oauth_signature_method' => 'HMAC-SHA1',
80-
* 'oauth_nonce' => 'rI7PSWxTZRHWU3R',
81-
* 'oauth_timestamp' => '1377183099',
82-
* 'oauth_consumer_key' => 'a6aa81cc3e65e2960a4879392445e718',
83-
* 'oauth_signature' => 'VNg4mhFlXk7%2FvsxMqqUd5DWIj9s%3D'
84-
* )
85-
* </pre>
8676
* @param string $requestUrl - The request Url.
8777
* @param string $httpMethod - (default: 'POST')
8878
* @return array - The request token/secret pair.
@@ -100,18 +90,6 @@ public function getRequestToken($params, $requestUrl, $httpMethod = 'POST');
10090
* Get access token for a pre-authorized request token.
10191
*
10292
* @param array $params - Array containing parameters necessary for requesting Access Token.
103-
* <pre>
104-
* array (
105-
* 'oauth_version' => '1.0',
106-
* 'oauth_signature_method' => 'HMAC-SHA1',
107-
* 'oauth_token' => 'a6aa81cc3e65e2960a487939244sssss',
108-
* 'oauth_nonce' => 'rI7PSWxTZRHWU3R',
109-
* 'oauth_timestamp' => '1377183099',
110-
* 'oauth_consumer_key' => 'a6aa81cc3e65e2960a4879392445e718',
111-
* 'oauth_signature' => 'VNg4mhFlXk7%2FvsxMqqUd5DWIj9s%3D',
112-
* 'oauth_verifier' => 'a6aa81cc3e65e2960a487939244vvvvv'
113-
* )
114-
* </pre>
11593
* @param string $requestUrl - The request Url.
11694
* @param string $httpMethod - (default: 'POST')
11795
* @return array - The access token/secret pair.
@@ -129,17 +107,6 @@ public function getAccessToken($params, $requestUrl, $httpMethod = 'POST');
129107
* Validate an access token request.
130108
*
131109
* @param array $params - Array containing parameters necessary for validating Access Token.
132-
* <pre>
133-
* array (
134-
* 'oauth_version' => '1.0',
135-
* 'oauth_signature_method' => 'HMAC-SHA1',
136-
* 'oauth_token' => 'a6aa81cc3e65e2960a487939244sssss',
137-
* 'oauth_nonce' => 'rI7PSWxTZRHWU3R',
138-
* 'oauth_timestamp' => '1377183099',
139-
* 'oauth_consumer_key' => 'a6aa81cc3e65e2960a4879392445e718',
140-
* 'oauth_signature' => 'VNg4mhFlXk7%2FvsxMqqUd5DWIj9s%3D'
141-
* )
142-
* </pre>
143110
* @param string $requestUrl - The request Url.
144111
* @param string $httpMethod - (default: 'POST')
145112
* @return int Consumer ID.

0 commit comments

Comments
 (0)