1 | <?php |
||
22 | class OauthClient implements ClientEntityInterface |
||
23 | { |
||
24 | use ClientTrait; |
||
25 | use EntityTrait; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $secret; |
||
31 | |||
32 | /** |
||
33 | * @var bool |
||
34 | */ |
||
35 | private $active = true; |
||
36 | |||
37 | public function __construct(string $name, string $redirectUri) |
||
44 | |||
45 | public function getSecret(): string |
||
49 | |||
50 | public function isActive(): bool |
||
54 | } |
||
55 |