Example #1
0
 public function setAuthInfo($pw = null)
 {
     if ($pw === null) {
         $pw = Random::auth(12);
     }
     $this->set('domain:authInfo/domain:pw', $pw);
 }
Example #2
0
 protected function generateClientTransactionId()
 {
     return Random::id(64, $this->username);
 }
Example #3
0
 public function changeAuthInfo($pw = null)
 {
     if ($pw === null) {
         $pw = Random::auth(12);
     }
     $this->set('domain:chg/domain:authInfo/domain:pw', $pw);
     return $pw;
 }
Example #4
0
 public function appendAuthInfo($path, $pw = null)
 {
     if ($pw === null) {
         $pw = Random::auth(12);
     }
     $this->set($path, $pw);
     return $pw;
 }