AuthenticatorExtension::authenticate()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 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