|
|
@ -157,6 +157,26 @@ Example using HTTP over SSL using a client certificate:
|
|
|
|
|
|
|
|
|
|
|
|
> **Tip:** See [ssl context options](http://www.php.net/manual/en/context.ssl.php) for more information.
|
|
|
|
> **Tip:** See [ssl context options](http://www.php.net/manual/en/context.ssl.php) for more information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example using a custom HTTP Header field for token authentication:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"repositories": [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"type": "composer",
|
|
|
|
|
|
|
|
"url": "https://example.org",
|
|
|
|
|
|
|
|
"options": {
|
|
|
|
|
|
|
|
"http": {
|
|
|
|
|
|
|
|
"header": [
|
|
|
|
|
|
|
|
"API-TOKEN: YOUR-API-TOKEN"
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Authentification
|
|
|
|
### Authentification
|
|
|
|
|
|
|
|
|
|
|
|
When your private repositories are password protected, you can store the authentification details permanently.
|
|
|
|
When your private repositories are password protected, you can store the authentification details permanently.
|
|
|
|