1
0
Fork 0

Merge pull request #9494 from JanSlabon/patch-1

Update authentication-for-private-packages.md
pull/9508/head
Jordi Boggiano 2020-11-19 09:45:13 +01:00 committed by GitHub
commit 5b5a8da6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ For the inline http-basic authentication method the credentials are not stored i
`auth.json` in the project or globally, but in the `composer.json` or global configuration
in the same place where the Composer repository definition is defined.
Make sure that the username and password are encoded according to [RFC 3986](http://www.faqs.org/rfcs/rfc3986.html) (2.1. Percent-Encoding).
If the username e.g. is an email address it needs to be passed as `name%40example.com`.
### Command line inline http-basic
```sh