1<?php
2
3/*
4 * This file is part of Laravel GitHub.
5 *
6 * (c) Graham Campbell <graham@alt-three.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12return [
13
14 /*
15 |--------------------------------------------------------------------------
16 | Default Connection Name
17 |--------------------------------------------------------------------------
18 |
19 | Here you may specify which of the connections below you wish to use as
20 | your default connection for all work. Of course, you may use many
21 | connections at once using the manager class.
22 |
23 */
24
25 'default' => 'main',
26
27 /*
28 |--------------------------------------------------------------------------
29 | GitHub Connections
30 |--------------------------------------------------------------------------
31 |
32 | Here are each of the connections setup for your application. Example
33 | configuration has been included, but you may add as many connections as
34 | you would like. Note that the 3 supported authentication methods are:
35 | "application", "password", and "token".
36 |
37 */
38
39 'connections' => [
40
41 'main' => [
42 'token' => env('GITHUB_TOKEN'),
43 'method' => 'token',
44 // 'backoff' => false,
45 // 'cache' => false,
46 // 'version' => 'v3',
47 // 'enterprise' => false,
48 ],
49
50 'alternative' => [
51 'clientId' => 'your-client-id',
52 'clientSecret' => 'your-client-secret',
53 'method' => 'application',
54 // 'backoff' => false,
55 // 'cache' => false,
56 // 'version' => 'v3',
57 // 'enterprise' => false,
58 ],
59
60 'other' => [
61 'username' => 'your-username',
62 'password' => 'your-password',
63 'method' => 'password',
64 // 'backoff' => false,
65 // 'cache' => false,
66 // 'version' => 'v3',
67 // 'enterprise' => false,
68 ],
69
70 ],
71
72];