本文整理匯總了PHP中Symfony\Component\Security\Core\Authentication\Token\AbstractToken::serialize方法的典型用法代碼示例。如果您正苦於以下問題:PHP AbstractToken::serialize方法的具體用法?PHP AbstractToken::serialize怎麽用?PHP AbstractToken::serialize使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Symfony\Component\Security\Core\Authentication\Token\AbstractToken
的用法示例。
在下文中一共展示了AbstractToken::serialize方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: serialize
public function serialize()
{
return serialize(array($this->credentials, $this->manager, parent::serialize()));
}
示例2: serialize
/**
* {@inheritDoc}
*/
public function serialize()
{
return serialize(array($this->accessToken, $this->resourceOwnerName, parent::serialize()));
}
示例3: serialize
/**
* {@inheritdoc}
*/
public function serialize()
{
return serialize(array($this->access_token, $this->refresh_token, $this->expires_at, parent::serialize()));
}
示例4: serialize
/**
* {@inheritdoc}
*/
public function serialize()
{
return serialize([$this->authenticatingService, $this->credentials, $this->providerKey, parent::serialize()]);
}
示例5: serialize
/**
* {@inheritdoc}
*/
public function serialize()
{
return serialize([$this->token, $this->providerKey, parent::serialize()]);
}
示例6: serialize
/**
* @return string
*/
public function serialize()
{
$accountStr = serialize($this->account);
$result = serialize(array($accountStr, $this->accessToken, $this->idToken, parent::serialize()));
return $result;
}
示例7: serialize
public function serialize()
{
return serialize(array($this->service, $this->uid, $this->accessToken, $this->providerKey, parent::serialize()));
}
示例8: serialize
public function serialize()
{
return serialize(array($this->signature, parent::serialize()));
}
示例9: serialize
public function serialize()
{
return serialize(array($this->jira_username, $this->jira_password, parent::serialize()));
}
示例10: serialize
public function serialize()
{
return serialize(array($this->providerKey, $this->samlSpInfo, parent::serialize()));
}
示例11: serialize
/**
* {@inheritdoc}
*/
public function serialize()
{
return serialize(array($this->key, $this->providerId, parent::serialize()));
}
示例12: serialize
public function serialize()
{
return serialize([parent::serialize(), $this->loa]);
}
示例13: serialize
/**
* {@inheritdoc}
*/
public function serialize()
{
/** @noinspection PhpUndefinedMethodInspection */
return serialize(array($this->client_id, $this->getUser()->getUsername(), parent::serialize()));
}
示例14: serialize
public function serialize()
{
return serialize(array($this->originalToken, $this->key, $this->credentials, parent::serialize()));
}
示例15: serialize
public function serialize()
{
return serialize(array($this->oauthVerifier, parent::serialize()));
}