Exemplo n.º 1
0
 /**
  * @param bool $returnAll If true, all configuration values are returned. Otherwise only a subset are available
  *
  * @return string JSON-encoded representation of this config
  */
 public function toJson($returnAll = false)
 {
     return parent::toJson($returnAll, array('clientId', 'clientSecret', 'redirectUri', 'scope', 'certificateFile', 'authorizeUrl', 'grantType', 'authType', 'accessType', 'flowType', 'accessTokenParamName', 'authHeaderName', 'accessToken', 'accessTokenType', 'accessTokenSecret', 'accessTokenExpires', 'refreshToken', 'refreshTokenExpires'));
 }
Exemplo n.º 2
0
 /**
  * @param bool $returnAll
  * @param bool $returnAll If true, all configuration values are returned. Otherwise only a subset are available
  *
  * @return bool JSON-encoded representation of this config
  */
 public function toJson($returnAll = false)
 {
     return parent::toJson($returnAll, array('consumerKey', 'consumerSecret', 'signatureMethod', 'authorizeUrl', 'authType', 'flowType', 'token', 'accessToken', 'accessTokenSecret', 'accessTokenExpires', 'refreshToken', 'refreshTokenExpires', 'redirectUri'));
 }