Completed
Push — master ( e7b047...512289 )
by Milos
09:27
created

SloResponseProfileBuilder::getProfileId()   A

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
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the LightSAML-Logout package.
5
 *
6
 * (c) Milos Tomic <[email protected]>
7
 *
8
 * This source file is subject to the GPL-3 license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace LightSaml\Logout\Builder\Profile\WebBrowserSlo;
13
14
use LightSaml\Builder\Profile\AbstractProfileBuilder;
15
use LightSaml\Context\Profile\ProfileContext;
16
use LightSaml\Logout\Builder\Action\Profile\SingleLogout\SloResponseActionBuilder;
17
use LightSaml\Logout\Profile\Profiles;
18
19
class SloResponseProfileBuilder extends AbstractProfileBuilder
20
{
21
    /**
22
     * @return string
23
     */
24
    protected function getProfileId()
25
    {
26
        return Profiles::SLO_RECEIVE_LOGOUT_RESPONSE;
27
    }
28
29
    /**
30
     * @return string
31
     */
32
    protected function getProfileRole()
33
    {
34
        return ProfileContext::ROLE_NONE;
35
    }
36
37
    /**
38
     * @return \LightSaml\Builder\Action\ActionBuilderInterface
39
     */
40
    protected function getActionBuilder()
41
    {
42
        return new SloResponseActionBuilder($this->container);
43
    }
44
}
45