public function CredentialProvider::setKeyRepository in OAuth2 Client 8.3
Provides a means to our services.yml file to conditionally inject service.
Parameters
\Drupal\key\KeyRepositoryInterface $repository: The injected service, if it exists.
File
- src/
Service/ CredentialProvider.php, line 47
Class
- CredentialProvider
- Class KeyProvider.
Namespace
Drupal\oauth2_client\ServiceCode
public function setKeyRepository(KeyRepositoryInterface $repository) {
$this->keyRepository = $repository;
}