public function TwitterUser::get_auth in Twitter 6.5
Same name and namespace in other branches
- 6.3 twitter.lib.php \TwitterUser::get_auth()
- 7.3 twitter.lib.php \TwitterUser::get_auth()
- 7.5 twitter.lib.php \TwitterUser::get_auth()
Returns an array with the authentication tokens.
Return value
array with the oauth token key and secret.
File
- ./
twitter.lib.php, line 1406 - Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1
Class
Code
public function get_auth() {
return array(
'oauth_token' => $this->oauth_token,
'oauth_token_secret' => $this->oauth_token_secret,
);
}