You are here

function sOAuthToken::to_string in jQuery social stream 7

Same name and namespace in other branches
  1. 7.2 jquery_social_stream.js.inc \sOAuthToken::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 sOAuthToken::to_string()
sOAuthToken::__toString in ./jquery_social_stream.js.inc

File

./jquery_social_stream.js.inc, line 368
JS callbacks.

Class

sOAuthToken

Code

function to_string() {
  return "oauth_token=" . sOAuthUtil::urlencode_rfc3986($this->key) . "&oauth_token_secret=" . sOAuthUtil::urlencode_rfc3986($this->secret);
}