unserialize() public method

public unserialize ( $serialized )
Ejemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public function unserialize($serialized)
 {
     list($this->accessToken, $this->resourceOwnerName, $parent, ) = unserialize($serialized);
     parent::unserialize($parent);
 }
Ejemplo n.º 2
0
 public function unserialize($str)
 {
     list($this->originalToken, $this->key, $this->credentials, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     list($this->client_id, $username, $parentStr) = unserialize($serialized);
     parent::unserialize($parentStr);
     $this->setUser((new User())->setUsername($username));
 }
Ejemplo n.º 4
0
 public function unserialize($serialized)
 {
     list($this->providerKey, $this->token, $previous) = unserialize($serialized);
     parent::unserialize($previous);
 }
Ejemplo n.º 5
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     list($this->uid, $this->provider, $this->info, $this->credentials, $this->raw, $parentStr) = unserialize($serialized);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 6
0
 /**
  * @param string $serialized
  */
 public function unserialize($serialized)
 {
     list($accountStr, $this->accessToken, $this->idToken, $parentStr) = unserialize($serialized);
     $this->account = unserialize($accountStr);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 7
0
 /**
  * {@inheritDoc}
  */
 public function unserialize($serialized)
 {
     $data = unserialize($serialized);
     if (7 === count($data)) {
         list($this->accessToken, $this->rawToken, $this->refreshToken, $this->expiresIn, $this->createdAt, $this->resourceOwnerName, $parent, ) = $data;
     } else {
         // @deprecated Remove this in 0.5
         list($this->accessToken, $this->rawToken, $this->refreshToken, $this->expiresIn, $this->resourceOwnerName, $parent, ) = $data;
         $this->createdAt = time();
     }
     if (!$this->tokenSecret && isset($this->rawToken['oauth_token_secret'])) {
         $this->tokenSecret = $this->rawToken['oauth_token_secret'];
     }
     parent::unserialize($parent);
 }
Ejemplo n.º 8
0
 public function unserialize($serialized)
 {
     list($this->credentials, $parentStr) = unserialize($serialized);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 9
0
 public function unserialize($str)
 {
     list($this->oauthVerifier, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 10
0
 public function unserialize($str)
 {
     list($this->apiUser, $this->accessToken, $this->providerKey, $this->scope, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 11
0
 public function unserialize($serialized)
 {
     list($this->jira_username, $this->jira_password, $parent_data) = unserialize($serialized);
     parent::unserialize($parent_data);
 }
Ejemplo n.º 12
0
 public function unserialize($str)
 {
     list($this->credentials, $this->manager, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 13
0
 public function unserialize($serialized)
 {
     list($parent, $this->loa) = unserialize($serialized);
     parent::unserialize($parent);
 }
Ejemplo n.º 14
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     list($this->secret, $parentStr) = unserialize($serialized);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 15
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     $data = unserialize($serialized);
     // add a few extra elements in the array to ensure that we have enough keys when un-serializing
     // older data which does not include all properties.
     $data = array_merge($data, array_fill(0, 4, null));
     list($this->accessToken, $this->rawToken, $this->refreshToken, $this->expiresIn, $this->createdAt, $this->resourceOwnerName, $parent, ) = $data;
     if (!$this->tokenSecret && isset($this->rawToken['oauth_token_secret'])) {
         $this->tokenSecret = $this->rawToken['oauth_token_secret'];
     }
     parent::unserialize($parent);
 }
Ejemplo n.º 16
0
 public function unserialize($str)
 {
     list($this->signature, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 17
0
 /**
  * {@inheritDoc}
  */
 public function unserialize($str)
 {
     list($this->key, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     list($this->providerKey, $parentStr) = unserialize($serialized);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 19
0
 public function unserialize($str)
 {
     \phpCAS::getVersion();
     list($this->credentials, $this->manager, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 20
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     $array = unserialize($serialized);
     $this->lifetime = array_pop($array);
     $this->created = array_pop($array);
     $this->nonce = array_pop($array);
     parent::unserialize(serialize($array));
 }
Ejemplo n.º 21
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     list($this->authenticatingService, $this->credentials, $this->providerKey, $parentStr) = unserialize($serialized);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 22
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($str)
 {
     list($this->credentials, $this->providerKey, $parentStr) = unserialize($str);
     parent::unserialize($parentStr);
 }
Ejemplo n.º 23
0
 /**
  * {@inheritdoc}
  */
 public function unserialize($serialized)
 {
     list($this->access_token, $this->refresh_token, $this->expires_at, $parentStr) = unserialize($serialized);
     parent::unserialize($parentStr);
 }