Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class None extends Configuration implements Authentication |
||
13 | { |
||
14 | /** |
||
15 | * Username. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $username; |
||
20 | |||
21 | /** |
||
22 | * Constructor. |
||
23 | * |
||
24 | * @param object $configuration Configuration object |
||
25 | * @return void |
||
26 | */ |
||
27 | public function __construct(Configuration $configuration) |
||
28 | { |
||
29 | $this->username = $configuration->get_username(); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * {@inheritDoc} |
||
34 | */ |
||
35 | final public function authenticate($resource) |
||
41 | } |
||
42 | } |
||
44 |