function OAuthToken::to_string in OAuth 1.0 7.3
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthToken::to_string()
- 6 OAuth.php \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 lib/
OAuth.php
File
- lib/
OAuth.php, line 55 - OAuth 1.0 server and client library.
Class
Code
function to_string() {
return "oauth_token=" . OAuthUtil::urlencode_rfc3986($this->key) . "&oauth_token_secret=" . OAuthUtil::urlencode_rfc3986($this->secret) . "&oauth_callback_confirmed=true";
}