Token.php
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
namespace Lackoxygen\TiktokShop\Request\Token;
use Lackoxygen\TiktokShop\Request\Request;
class Token extends Request implements TokenInterface
{
/**
* @inheritDoc
*/
public function rightsInfo(array $params)
{
$this->builder->method('POST')
->service('rights.info')
->path('/rights/info')
->params($params);
}
/**
* @inheritDoc
*/
public function tokenRefresh(array $params)
{
$this->builder->method('POST')
->service('token.refresh')
->path('/token/refresh')
->params($params);
}
/**
* @inheritDoc
*/
public function tokenCreate(array $params)
{
$this->builder->method('POST')
->service('token.create')
->path('/token/create')
->params($params);
}
/**
* @inheritDoc
*/
public function securityBatchReportOrderSecurityEvent(array $params)
{
$this->builder->method('POST')
->service('security.batchReportOrderSecurityEvent')
->path('/security/batchReportOrderSecurityEvent')
->params($params);
}
/**
* @inheritDoc
*/
public function openAppIpWhiteListAdd(array $params)
{
$this->builder->method('POST')
->service('open.appIpWhiteListAdd')
->path('/open/appIpWhiteListAdd')
->params($params);
}
}