Completed
Push — master ( bade18...269a91 )
by Robbie
11s
created

Method::getAuthenticator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
namespace SilverStripe\MFA\BasicMath;
3
4
use SilverStripe\MFA\AuthenticationMethod\AuthenticatorInterface;
5
use SilverStripe\MFA\AuthenticationMethodInterface;
6
7
class Method implements AuthenticationMethodInterface
8
{
9
    /**
10
     * Return the authenticator interface that is used to start and verify login attempts with this method
11
     *
12
     * @return AuthenticatorInterface
13
     */
14
    public function getAuthenticator()
15
    {
16
        return new MethodAuthenticator();
17
    }
18
19
    public function getRegistrar()
20
    {
21
        // TODO: Implement getRegistrar() method.
22
    }
23
}
24