public function InstagramUser::set_auth in Drupagram 6
Same name and namespace in other branches
- 7 drupagram.lib.php \InstagramUser::set_auth()
File
- ./
drupagram.lib.php, line 619 - Classes to implement the full Instagram API
Class
- InstagramUser
- Class for containing an individual Instagram user.
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;
}