Mercurial > nebulaweb3
comparison default/assets/vendors/theme-widgets/vendor/abraham/twitteroauth/tests/HmacSha1Test.php @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 <?php | |
2 | |
3 namespace Abraham\TwitterOAuth\Tests; | |
4 | |
5 use Abraham\TwitterOAuth\HmacSha1; | |
6 | |
7 class HmacSha1Test extends AbstractSignatureMethodTest | |
8 { | |
9 protected $name = 'HMAC-SHA1'; | |
10 | |
11 public function getClass() | |
12 { | |
13 return new HmacSha1(); | |
14 } | |
15 | |
16 public function signatureDataProvider() | |
17 { | |
18 return [ | |
19 ['5CoEcoq7XoKFjwYCieQvuzadeUA=', $this->getRequest(), $this->getConsumer(), $this->getToken()], | |
20 [ | |
21 'EBw0gHngam3BTx8kfPfNNSyKem4=', | |
22 $this->getRequest(), | |
23 $this->getConsumer('key', 'secret'), | |
24 $this->getToken() | |
25 ], | |
26 [ | |
27 'kDsHFZzws2a5M6cAQjfpdNBo+v8=', | |
28 $this->getRequest(), | |
29 $this->getConsumer('key', 'secret'), | |
30 $this->getToken('key', 'secret') | |
31 ], | |
32 ['EBw0gHngam3BTx8kfPfNNSyKem4=', $this->getRequest(), $this->getConsumer('key', 'secret'), null], | |
33 ]; | |
34 } | |
35 } |