9 * @author Christian Weiske <cweiske@cweiske.de>
10 * @copyright 2014 Christian Weiske
11 * @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3
12 * @link http://cweiske.de/grauphel.htm
14 namespace OCA\Grauphel\Lib;
17 * OAuth token with some additional data
21 * @author Christian Weiske <cweiske@cweiske.de>
22 * @copyright 2014 Christian Weiske
23 * @license http://www.gnu.org/licenses/agpl.html GNU AGPL v3
24 * @version Release: @package_version@
25 * @link http://cweiske.de/grauphel.htm
30 * One of: temp, access, verify
37 * Actual random token string
44 * Matching secret for the token string
51 * User name for which the token is valid
58 * Verification string.
59 * Only used when $type == 'verify'
66 * Callback URL for temp tokens
73 * Client name/identifier (user agent)
80 * Unix timestamp when the token was used last
86 public function __construct($type = null)