當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。