You are here

public function Twitter::set_auth in Twitter 7.3

Same name and namespace in other branches
  1. 6.3 twitter.lib.php \Twitter::set_auth()

Set the username and password

1 call to Twitter::set_auth()
Twitter::__construct in ./twitter.lib.php
Constructor for the Twitter class

File

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

Class

Twitter
Primary Twitter API implementation class Supports the full REST API for twitter.

Code

public function set_auth($username, $password) {
  $this->username = $username;
  $this->password = $password;
}