protected function fetchAttributes()
 {
     parent::fetchAttributes();
     if ($this->scope == 'VALUABLE ACCESS') {
         $this->getRealIdAndUrl();
     }
 }
Beispiel #2
0
 public function authenticate()
 {
     if (parent::authenticate()) {
         $this->setState(self::AUTH_DATA_KEY, ['email' => $this->getAttribute('email'), 'uid' => $this->getId(), 'service' => $this->getServiceName(), 'type' => $this->getServiceType()]);
         return true;
     }
     return false;
 }