Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. IOInterface.php

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\IO

Code

public function setAuthentication(string $repositoryName, string $username, ?string $password = null);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal