Skip to content

Commit e965c90

Browse files
committed
lib: add support for usertokens
1 parent b4035be commit e965c90

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

quickbase.php

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class QuickBase {
2727
'username' => '',
2828
'password' => '',
2929
'appToken' => '',
30+
'userToken' => '',
3031
'ticket' => '',
3132

3233
'flags' => array(
@@ -223,6 +224,10 @@ final public function addFlags(){
223224
$this->options['appToken'] = $this->settings['appToken'];
224225
}
225226

227+
if(!isset($this->options['userToken']) && $this->settings['userToken']){
228+
$this->options['usertoken'] = $this->settings['userToken'];
229+
}
230+
226231
if(!isset($this->options['ticket']) && $this->settings['ticket']){
227232
$this->options['ticket'] = $this->settings['ticket'];
228233
}
@@ -912,6 +917,7 @@ class QuickBaseOption {
912917

913918
/* Common to All */
914919
// final public static function apptoken($val){ }
920+
// final public static function usertoken($val){ }
915921
// final public static function dbid($val){ }
916922
// final public static function ticket($val){ }
917923
// final public static function udata($val){ }

0 commit comments

Comments
 (0)