✏️ 正在编辑: OAuthToken.php
路径:
/home/bpioifn/www/pigmentse/modules/leoquicklogin/classes/OAuthToken.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * 2007-2015 Leotheme * * NOTICE OF LICENSE * * Leo Quick Login And Social Login * * DISCLAIMER * * @author leotheme <leotheme@gmail.com> * @copyright 2007-2015 Leotheme * @license http://leotheme.com - prestashop template provider */ class OAuthToken { // access tokens and request tokens public $key; public $secret; /** * key = the token * secret = the token secret */ public function __construct($key, $secret) { $this->key = $key; $this->secret = $secret; } /** * generates the basic string serialization of a token that a server * would respond to request_token and access_token calls with */ public function toString() { return "oauth_token=" . OAuthUtil::urlencodeRfc3986($this->key) . "&oauth_token_secret=" . OAuthUtil::urlencodeRfc3986($this->secret); } public function __toString() { return $this->toString(); } }
💾 保存文件
← 返回文件管理器