QueryParamAuthentication   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getQueryParameters() 0 6 1
1
<?php
2
/**
3
 * This file is part of the adlogix/guzzle-atlassian-connect-middleware package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace Adlogix\GuzzleAtlassianConnect\Security;
10
11
/**
12
 * Class QueryParamAuthentication
13
 *
14
 * This Authentication method is
15
 *
16
 * @package Adlogix\GuzzleAtlassianConnect\Security
17
 * @author  Cedric Michaux <[email protected]>
18
 */
19
class QueryParamAuthentication extends AbstractAuthentication
20
{
21
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function getQueryParameters()
26
    {
27
        return [
28
            "jwt" => $this->token->sign()
29
        ];
30
    }
31
}
32