QueryParamAuthentication::getQueryParameters()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
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