Test Failed
Push — master ( d8d1f0...2a75d8 )
by Julien
04:31
created

ClientController::authorizationUrlAction()   A

Complexity

Conditions 2
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 7
ccs 0
cts 6
cp 0
rs 10
c 1
b 0
f 0
cc 2
nc 1
nop 1
crap 6
1
<?php
2
3
/**
4
 * This file is part of the Zemit Framework.
5
 *
6
 * (c) Zemit Team <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.txt
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Zemit\Modules\Oauth2\Controllers;
13
14
use League\OAuth2\Client\Grant\RefreshToken;
15
use League\OAuth2\Client\Provider\GenericProvider;
16
use League\OAuth2\Client\Provider\ResourceOwnerInterface;
17
use League\OAuth2\Client\Token\AccessToken;
18
use League\OAuth2\Client\Token\AccessTokenInterface;
19
use Phalcon\Http\ResponseInterface;
20
21
class ClientController extends AbstractController
22
{
23
    public string $providerName = self::PROVIDER_CLIENT;
24
    
25
    public string $sessionKey = 'oauth2-client-state';
26
}
27