public function InstagramUser::set_auth in Drupagram 7
Same name and namespace in other branches
- 6 drupagram.lib.php \InstagramUser::set_auth()
File
- ./
drupagram.lib.php, line 687 - 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;
}