You are here

public function TwitterAccount::get_auth in Twitter 7.6

Returns an array with the authentication tokens.

Return value

array with the oauth token key and secret.

File

./twitter.module, line 762
Provides API integration with the Twitter microblogging service.

Class

TwitterAccount
Class to define the structure of a Twitter account.

Code

public function get_auth() {
  return array(
    'oauth_token' => $this->oauth_token,
    'oauth_token_secret' => $this->oauth_token_secret,
  );
}