1 | <?php |
||
27 | class Session implements SessionInterface { |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $appId; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $appSecret; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $accessToken; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $appSecretProof; |
||
48 | |||
49 | /** |
||
50 | * @param string $app_id |
||
51 | * @param string $app_secret |
||
52 | * @param string $access_token |
||
53 | */ |
||
54 | 8 | public function __construct($app_id, $app_secret, $access_token) { |
|
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | 2 | public function getAppId() { |
|
66 | |||
67 | /** |
||
68 | * @return string |
||
69 | */ |
||
70 | 3 | public function getAppSecret() { |
|
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | 3 | public function getAccessToken() { |
|
80 | |||
81 | /** |
||
82 | * @return string |
||
83 | */ |
||
84 | 1 | public function getAppSecretProof() { |
|
91 | |||
92 | /** |
||
93 | * @return array |
||
94 | */ |
||
95 | public function getRequestParameters() { |
||
101 | } |
||
102 |