You are here

public function TwitterUser::set_auth in Twitter 6.3

Same name and namespace in other branches
  1. 6.5 twitter.lib.php \TwitterUser::set_auth()
  2. 7.3 twitter.lib.php \TwitterUser::set_auth()
  3. 7.5 twitter.lib.php \TwitterUser::set_auth()

File

./twitter.lib.php, line 570
Classes to implement the full Twitter API

Class

TwitterUser

Code

public function set_auth($values) {
  $this->oauth_token = isset($values['oauth_token']) ? $values['oauth_token'] : NULL;
  $this->oauth_token_secret = isset($values['oauth_token_secret']) ? $values['oauth_token_secret'] : NULL;
}