AccountsTfa   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMethodNamespace() 0 3 1
1
<?php
2
/**
3
 * This file is part of graze/gigya-client
4
 *
5
 * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @license https://github.com/graze/gigya-client/blob/master/LICENSE.md
11
 * @link    https://github.com/graze/gigya-client
12
 */
13
14
namespace Graze\Gigya\Endpoint;
15
16
use Graze\Gigya\Gigya;
17
use Graze\Gigya\Response\ResponseInterface;
18
19
/**
20
 * Class Accounts.
21
 *
22
 *
23
 * @link     http://developers.gigya.com/display/GD/Accounts+REST
24
 *
25
 * @method ResponseInterface deactivateProvider(array $params = [], array $options = []) @link
26
 *         http://developers.gigya.com/display/GD/accounts.tfa.deactivateProvider+REST
27
 * @method ResponseInterface finalizeTFA(array $params = [], array $options = []) @link
28
 *         http://developers.gigya.com/display/GD/accounts.tfa.finalizeTFA+REST
29
 * @method ResponseInterface getCertificate(array $params = [], array $options = []) @link
30
 *         http://developers.gigya.com/display/GD/accounts.tfa.getCertificate+REST
31
 * @method ResponseInterface getProviders(array $params = [], array $options = []) @link
32
 *         http://developers.gigya.com/display/GD/accounts.tfa.getProviders+REST
33
 * @method ResponseInterface initTFA(array $params = [], array $options = []) @link
34
 *         http://developers.gigya.com/display/GD/accounts.tfa.initTFA+REST
35
 * @method ResponseInterface unregisterDevice(array $params = [], array $options = []) @link
36
 *         http://developers.gigya.com/display/GD/accounts.tfa.unregisterDevice+REST
37
 */
38
class AccountsTfa extends Client
39
{
40
    /**
41
     * {@inheritdoc}
42
     *
43
     * @return string
44
     */
45 1
    public function getMethodNamespace()
46
    {
47 1
        return Gigya::NAMESPACE_ACCOUNTS_TFA;
48
    }
49
}
50