packbackbooks/lti-1-3-php-library

View on GitHub
src/LtiServiceConnector.php

Summary

Maintainability
A
1 hr
Test Coverage
B
89%

Method getAccessToken has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getAccessToken(ILtiRegistration $registration, array $scopes): string
    {
        // Get a unique cache key for the access token
        $accessTokenKey = $this->getAccessTokenCacheKey($registration, $scopes);
        // Get access token from cache if it exists
Severity: Minor
Found in src/LtiServiceConnector.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status