SamlIdp   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 SamlIdp.
21
 *
22
 *
23
 * @link     http://developers.gigya.com/display/GD/fidm.saml.idp+REST
24
 *
25
 * @method ResponseInterface delSP(array $params = [], array $options = []) @link
26
 *         http://developers.gigya.com/display/GD/fidm.saml.idp.delSP+REST
27
 * @method ResponseInterface getConfig(array $params = [], array $options = []) @link
28
 *         http://developers.gigya.com/display/GD/fidm.saml.idp.getConfig+REST
29
 * @method ResponseInterface getRegisteredSPs(array $params = [], array $options = []) @link
30
 *         http://developers.gigya.com/display/GD/fidm.saml.idp.getRegisteredSPs+REST
31
 * @method ResponseInterface importSPMetadata(array $params = [], array $options = []) @link
32
 *         http://developers.gigya.com/display/GD/fidm.saml.idp.importSPMetadata+REST
33
 * @method ResponseInterface registerSP(array $params = [], array $options = []) @link
34
 *         http://developers.gigya.com/display/GD/fidm.saml.idp.registerSP+REST
35
 * @method ResponseInterface setConfig(array $params = [], array $options = []) @link
36
 *         http://developers.gigya.com/display/GD/fidm.saml.idp.setConfig+REST
37
 */
38
class SamlIdp extends Client
39
{
40
    /**
41
     * {@inheritdoc}
42
     *
43
     * @return string
44
     */
45 1
    public function getMethodNamespace()
46
    {
47 1
        return Gigya::NAMESPACE_FIDM_SAML_IDP;
48
    }
49
}
50