1 | <?php |
||
12 | trait ClientTrait |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $name; |
||
18 | |||
19 | /** |
||
20 | * @var string|string[] |
||
21 | */ |
||
22 | protected $redirectUri; |
||
23 | |||
24 | /** |
||
25 | * @var bool |
||
26 | */ |
||
27 | protected $isConfidential = false; |
||
28 | |||
29 | /** |
||
30 | * Get the client's name. |
||
31 | * |
||
32 | * @return string |
||
33 | * @codeCoverageIgnore |
||
34 | */ |
||
35 | public function getName() |
||
39 | |||
40 | /** |
||
41 | * Returns the registered redirect URI (as a string). |
||
42 | * |
||
43 | * Alternatively return an indexed array of redirect URIs. |
||
44 | * |
||
45 | * @return string|string[] |
||
46 | */ |
||
47 | 43 | public function getRedirectUri() |
|
51 | |||
52 | /** |
||
53 | * Returns true if the client is confidential. |
||
54 | * |
||
55 | * @return bool |
||
56 | */ |
||
57 | 28 | public function isConfidential() |
|
61 | } |
||
62 |