1 | <?php |
||
10 | final class OAuthFlows extends ValueObject |
||
11 | { |
||
12 | use Properties\OptionalExtensions; |
||
13 | |||
14 | private $authorizationCode; |
||
15 | |||
16 | private $clientCredentials; |
||
17 | |||
18 | private $implicit; |
||
19 | |||
20 | private $password; |
||
21 | |||
22 | 4 | public function __construct( |
|
35 | |||
36 | 1 | public function getAuthorizationCode(): OAuthFlow |
|
40 | |||
41 | 1 | public function getClientCredentials(): OAuthFlow |
|
45 | |||
46 | 3 | public function getImplicit(): OAuthFlow |
|
50 | |||
51 | 1 | public function getPassword(): OAuthFlow |
|
55 | |||
56 | 4 | public function hasAuthorizationCode(): bool |
|
60 | |||
61 | 4 | public function hasClientCredentials(): bool |
|
65 | |||
66 | 4 | public function hasImplicit(): bool |
|
70 | |||
71 | 4 | public function hasPassword(): bool |
|
75 | |||
76 | 4 | public function jsonSerialize(): ?array |
|
80 | |||
81 | 4 | protected function normalizeOptionalProperties(): array |
|
90 | } |
||
91 |