public function TwitterAccount::is_auth in Twitter 7.6
Checks whether the account is authenticated or not.
Return value
boolean TRUE when the account is authenticated.
File
- ./
twitter.module, line 783 - Provides API integration with the Twitter microblogging service.
Class
- TwitterAccount
- Class to define the structure of a Twitter account.
Code
public function is_auth() {
return !empty($this->oauth_token) && !empty($this->oauth_token_secret);
}