src/LtiServiceConnector.php
Method getAccessToken
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
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