function OAuthToken::to_string in jQuery social stream 8.2
Same name and namespace in other branches
- 8 src/Twitter/OAuthToken.php \Drupal\jquery_social_stream\Twitter\OAuthToken::to_string()
generates the basic string serialization of a token that a server would respond to request_token and access_token calls with
1 call to OAuthToken::to_string()
- OAuthToken::__toString in src/
Twitter/ OAuthToken.php
File
- src/
Twitter/ OAuthToken.php, line 23
Class
Namespace
Drupal\jquery_social_stream\TwitterCode
function to_string() {
return "oauth_token=" . OAuthUtil::urlencode_rfc3986($this->key) . "&oauth_token_secret=" . OAuthUtil::urlencode_rfc3986($this->secret);
}