本文整理汇总了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()));
}