private function Oauth2ClientService::getAuthorizationCodeProvider in OAuth2 Client 8.2
Retrieves the league/oauth2-client provider for the 'authorization_code' grant type.
Return value
\League\OAuth2\Client\Provider\AbstractProvider The Provider for the given client ID.
1 call to Oauth2ClientService::getAuthorizationCodeProvider()
- Oauth2ClientService::getProvider in src/
Service/ Oauth2ClientService.php
File
- src/
Service/ Oauth2ClientService.php, line 151
Class
- Oauth2ClientService
- The OAuth2 Client service.
Namespace
Drupal\oauth2_client\ServiceCode
private function getAuthorizationCodeProvider($clientId) {
return $this->grantServices['authorization_code']
->getGrantProvider($clientId);
}