Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class OAuthFlows |
||
17 | { |
||
18 | private $implicit; |
||
19 | private $password; |
||
20 | private $clientCredentials; |
||
21 | private $authorizationCode; |
||
22 | |||
23 | public function __construct(OAuthFlow $implicit = null, OAuthFlow $password = null, OAuthFlow $clientCredentials = null, OAuthFlow $authorizationCode = null) |
||
24 | { |
||
25 | $this->implicit = $implicit; |
||
26 | $this->password = $password; |
||
27 | $this->clientCredentials = $clientCredentials; |
||
28 | $this->authorizationCode = $authorizationCode; |
||
29 | } |
||
30 | |||
31 | public function getImplicit() |
||
32 | { |
||
33 | return $this->implicit; |
||
34 | } |
||
35 | |||
36 | public function getPassword() |
||
39 | } |
||
40 | |||
41 | public function getClientCredentials() |
||
42 | { |
||
43 | return $this->clientCredentials; |
||
44 | } |
||
45 | |||
46 | public function getAuthorizationCode() |
||
49 | } |
||
50 | } |
||
51 |