1 | <?php |
||
5 | abstract class Credentials implements CredentialsInterface |
||
6 | { |
||
7 | /** |
||
8 | * The credentials identifier. |
||
9 | * |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $identifier; |
||
13 | |||
14 | /** |
||
15 | * The credentials shared-secret. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $secret; |
||
20 | |||
21 | /** |
||
22 | * Creaate the new Crendentials class instance. |
||
23 | * |
||
24 | * @param string $identifier |
||
25 | * @param string $secret |
||
26 | */ |
||
27 | 51 | public function __construct($identifier, $secret) |
|
32 | |||
33 | /** |
||
34 | * {@inheritDoc} |
||
35 | */ |
||
36 | 8 | public function getIdentifier() |
|
40 | |||
41 | /** |
||
42 | * {@inheritDoc} |
||
43 | */ |
||
44 | 12 | public function getSecret() |
|
48 | } |
||
49 |