Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class OAuthFlow |
||
17 | { |
||
18 | private $authorizationUrl; |
||
19 | private $tokenUrl; |
||
20 | private $refreshUrl; |
||
21 | private $scopes; |
||
22 | |||
23 | public function __construct(string $authorizationUrl = null, string $tokenUrl = null, string $refreshUrl = null, array $scopes = []) |
||
24 | { |
||
25 | $this->authorizationUrl = $authorizationUrl; |
||
26 | $this->tokenUrl = $tokenUrl; |
||
27 | $this->refreshUrl = $refreshUrl; |
||
28 | $this->scopes = $scopes; |
||
29 | } |
||
30 | |||
31 | public function getAuthorizationUrl() |
||
32 | { |
||
33 | return $this->authorizationUrl; |
||
34 | } |
||
35 | |||
36 | public function getTokenUrl() |
||
37 | { |
||
38 | return $this->tokenUrl; |
||
39 | } |
||
40 | |||
41 | public function getRefreshUrl() |
||
44 | } |
||
45 | |||
46 | public function getScopes() |
||
49 | } |
||
50 | } |
||
51 |