Esempio n. 1
0
 /**
  * @param exodBearerToken $exodBearerToken
  */
 public function storeToken(exodBearerToken $exodBearerToken)
 {
     global $ilUser;
     $this->setAccessToken($exodBearerToken->getAccessToken());
     $this->setRefreshToken($exodBearerToken->getRefreshToken());
     $this->setValidThrough($exodBearerToken->getValidThrough());
     $this->setValidThrough($exodBearerToken->getValidThrough());
     $this->setValidationUserId($ilUser->getId());
     $this->doUpdate();
 }