function IOInterface::setAuthentication
Set the authentication information for the repository.
Parameters
string $repositoryName The unique name of repository:
string $username The username:
null|string $password The password:
Return value
void
1 method overrides IOInterface::setAuthentication()
- BaseIO::setAuthentication in vendor/
composer/ composer/ src/ Composer/ IO/ BaseIO.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ IO/ IOInterface.php, line 234
Class
- IOInterface
- The Input/Output helper interface.
Namespace
Composer\IOCode
public function setAuthentication(string $repositoryName, string $username, ?string $password = null);