Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO: Start implementing Azure authentication #5968

Closed
wants to merge 2 commits into from

Conversation

AngelFQC
Copy link
Member

No description provided.


/* For licensing terms, see /license.txt */

declare(strict_types=1);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a single space around assignment operators

use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;

class AzureProviderController extends AbstractProviderController
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing class doc comment


class AzureProviderController extends AbstractProviderController
{
#[Route('/connect/azure', name: 'chamilo.oauth2_azure_start')]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.

class AzureProviderController extends AbstractProviderController
{
#[Route('/connect/azure', name: 'chamilo.oauth2_azure_start')]
public function connect(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You must use "/**" style comments for a function comment

return $this->getStartResponse('azure', $clientRegistry, $authenticationConfigHelper);
}

#[Route('/connect/azure/check', name: 'chamilo.oauth2_azure_check')]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.

Copy link

codeclimate bot commented Dec 13, 2024

Code Climate has analyzed commit 0be3bdc and detected 29 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 29

View more on Code Climate.

@AngelFQC AngelFQC closed this Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant