@@ -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