1 | <?php |
||
11 | trait ClientHasSecretTrait |
||
12 | { |
||
13 | /** |
||
14 | * @param string $secret |
||
15 | * @return bool |
||
16 | */ |
||
17 | public function validateSecret(string $secret): bool |
||
21 | |||
22 | /** |
||
23 | * @param string $secret |
||
24 | */ |
||
25 | 19 | public function setSecret(string $secret) |
|
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | 4 | public function getSecret(): string |
|
37 | } |
||
38 |