1: <?php
2:
3: namespace PHPixie\Security\Tokens;
4:
5: class Token
6: {
7: protected $series;
8: protected $userId;
9: protected $challenge;
10: protected $expires;
11: protected $string;
12:
13: public function __construct($series, $userId, $challenge, $expires, $string = null)
14: {
15: $this->series = $series;
16: $this->userId = $userId;
17: $this->challenge = $challenge;
18: $this->expires = $expires;
19: $this->string = $string;
20: }
21:
22: public function series()
23: {
24: return $this->series;
25: }
26:
27: public function userId()
28: {
29: return $this->userId;
30: }
31:
32: public function challenge()
33: {
34: return $this->challenge;
35: }
36:
37: public function expires()
38: {
39: return $this->expires;
40: }
41:
42: public function string()
43: {
44: return $this->string;
45: }
46: }