function BaseIO::getAuthentication
@inheritDoc
Overrides IOInterface::getAuthentication
1 call to BaseIO::getAuthentication()
- BaseIO::checkAndSetAuthentication in vendor/
composer/ composer/ src/ Composer/ IO/ BaseIO.php - Check for overwrite and set the authentication information for the repository.
File
-
vendor/
composer/ composer/ src/ Composer/ IO/ BaseIO.php, line 53
Class
Namespace
Composer\IOCode
public function getAuthentication($repositoryName) {
if (isset($this->authentications[$repositoryName])) {
return $this->authentications[$repositoryName];
}
return [
'username' => null,
'password' => null,
];
}