1 | <?php |
||
12 | trait ClientTrait |
||
13 | { |
||
14 | /** |
||
15 | * @var null|string |
||
16 | */ |
||
17 | protected $name; |
||
18 | |||
19 | /** |
||
20 | * @var null|string|string[] |
||
21 | */ |
||
22 | protected $redirectUri; |
||
23 | |||
24 | /** |
||
25 | * Get the client's name. |
||
26 | * |
||
27 | * @return string |
||
28 | * @codeCoverageIgnore |
||
29 | */ |
||
30 | public function getName() |
||
34 | |||
35 | /** |
||
36 | * Set the client's name. |
||
37 | * |
||
38 | * @param string $name |
||
39 | */ |
||
40 | public function setName($name) |
||
44 | |||
45 | /** |
||
46 | * Returns the registered redirect URI (as a string). |
||
47 | * |
||
48 | * Alternatively return an indexed array of redirect URIs. |
||
49 | * |
||
50 | * @return string|string[] |
||
51 | */ |
||
52 | public function getRedirectUri() |
||
56 | |||
57 | /** |
||
58 | * Sets the registered redirect URI (as a string). |
||
59 | * |
||
60 | * Alternatively set an indexed array of redirect URIs. |
||
61 | * |
||
62 | * @param string|string[] $uri |
||
63 | */ |
||
64 | public function setRedirectUri($uri) |
||
68 | } |
||
69 |