当前位置: 首页>>代码示例>>PHP>>正文


PHP AbstractToken::serialize方法代码示例

本文整理汇总了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()));
 }
开发者ID:nicolasbui,项目名称:BeSimpleSsoAuthBundle,代码行数:4,代码来源:SsoToken.php

示例2: serialize

 /**
  * {@inheritDoc}
  */
 public function serialize()
 {
     return serialize(array($this->accessToken, $this->resourceOwnerName, parent::serialize()));
 }
开发者ID:rdohms,项目名称:HWIOAuthBundle,代码行数:7,代码来源:OAuthToken.php

示例3: serialize

 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize(array($this->access_token, $this->refresh_token, $this->expires_at, parent::serialize()));
 }
开发者ID:jdelaune,项目名称:oauth2-client-bundle,代码行数:7,代码来源:OAuth2Token.php

示例4: serialize

 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize([$this->authenticatingService, $this->credentials, $this->providerKey, parent::serialize()]);
 }
开发者ID:Yame-,项目名称:mautic,代码行数:7,代码来源:PluginToken.php

示例5: serialize

 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize([$this->token, $this->providerKey, parent::serialize()]);
 }
开发者ID:tenside,项目名称:core-bundle,代码行数:7,代码来源:JavascriptWebToken.php

示例6: serialize

 /**
  * @return string
  */
 public function serialize()
 {
     $accountStr = serialize($this->account);
     $result = serialize(array($accountStr, $this->accessToken, $this->idToken, parent::serialize()));
     return $result;
 }
开发者ID:appsco,项目名称:appsco-php-client,代码行数:9,代码来源:AppscoToken.php

示例7: serialize

 public function serialize()
 {
     return serialize(array($this->service, $this->uid, $this->accessToken, $this->providerKey, parent::serialize()));
 }
开发者ID:akarmazyn,项目名称:silex-oauth,代码行数:4,代码来源:OAuthToken.php

示例8: serialize

 public function serialize()
 {
     return serialize(array($this->signature, parent::serialize()));
 }
开发者ID:aliel,项目名称:FOSTwitterBundle,代码行数:4,代码来源:TwitterAnywhereToken.php

示例9: serialize

 public function serialize()
 {
     return serialize(array($this->jira_username, $this->jira_password, parent::serialize()));
 }
开发者ID:VincentCATILLON,项目名称:ScrumBoard-it,代码行数:4,代码来源:JiraToken.php

示例10: serialize

 public function serialize()
 {
     return serialize(array($this->providerKey, $this->samlSpInfo, parent::serialize()));
 }
开发者ID:iambrosi,项目名称:SamlSPBundle,代码行数:4,代码来源:SamlSpToken.php

示例11: serialize

 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize(array($this->key, $this->providerId, parent::serialize()));
 }
开发者ID:Exanrus,项目名称:crm-bundle,代码行数:7,代码来源:ApiToken.php

示例12: serialize

 public function serialize()
 {
     return serialize([parent::serialize(), $this->loa]);
 }
开发者ID:eefjevanderharst,项目名称:Stepup-RA,代码行数:4,代码来源:SamlToken.php

示例13: serialize

 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     /** @noinspection PhpUndefinedMethodInspection */
     return serialize(array($this->client_id, $this->getUser()->getUsername(), parent::serialize()));
 }
开发者ID:apitude,项目名称:user,代码行数:8,代码来源:OAuthToken.php

示例14: serialize

 public function serialize()
 {
     return serialize(array($this->originalToken, $this->key, $this->credentials, parent::serialize()));
 }
开发者ID:artz20,项目名称:Tv-shows-zone,代码行数:4,代码来源:RunAsUserToken.php

示例15: serialize

 public function serialize()
 {
     return serialize(array($this->oauthVerifier, parent::serialize()));
 }
开发者ID:aliel,项目名称:FOSTwitterBundle,代码行数:4,代码来源:TwitterUserToken.php


注:本文中的Symfony\Component\Security\Core\Authentication\Token\AbstractToken::serialize方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。