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

Method   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 2
dl 0
loc 14
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getAuthenticator() 0 3 1
A getRegistrar() 0 2 1
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