AuthenticatorExtension   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 14
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A authenticate() 0 4 1
1
<?php namespace Anomaly\UsersModule\User\Authenticator;
2
3
use Anomaly\Streams\Platform\Addon\Extension\Extension;
4
use Anomaly\UsersModule\User\Authenticator\Contract\AuthenticatorExtensionInterface;
5
use Anomaly\UsersModule\User\Contract\UserInterface;
6
7
/**
8
 * Class AuthenticatorExtension
9
 *
10
 * @link          http://pyrocms.com/
11
 * @author        PyroCMS, Inc. <[email protected]>
12
 * @author        Ryan Thompson <[email protected]>
13
 */
14
class AuthenticatorExtension extends Extension implements AuthenticatorExtensionInterface
15
{
16
17
    /**
18
     * Authenticate a set of credentials.
19
     *
20
     * @param  array              $credentials
21
     * @return null|UserInterface
22
     */
23
    public function authenticate(array $credentials)
24
    {
25
        return null;
26
    }
27
}
28