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