Passed
Push — dependabot/npm_and_yarn/nanoid... ( aaf2c9...c4aa90 )
by
unknown
14:37 queued 06:22
created

AzureProviderController::connectCheck()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
rs 10
c 1
b 0
f 0
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
declare(strict_types=1);
6
7
namespace Chamilo\CoreBundle\Controller\OAuth2;
8
9
use Chamilo\CoreBundle\ServiceHelper\AuthenticationConfigHelper;
10
use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
11
use Symfony\Component\HttpFoundation\Response;
12
use Symfony\Component\Routing\Attribute\Route;
13
14
class AzureProviderController extends AbstractProviderController
15
{
16
    #[Route('/connect/azure', name: 'chamilo.oauth2_azure_start')]
17
    public function connect(
18
        ClientRegistry $clientRegistry,
19
        AuthenticationConfigHelper $authenticationConfigHelper,
20
    ): Response {
21
        return $this->getStartResponse('azure', $clientRegistry, $authenticationConfigHelper);
22
    }
23
24
    #[Route('/connect/azure/check', name: 'chamilo.oauth2_azure_check')]
25
    public function connectCheck(): void {}
26
}
27