2015-07-12 21:01:42 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Third Party Services
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| This file is for storing the credentials for third party services such
|
|
|
|
| as Stripe, Mailgun, Mandrill, and others. This file provides a sane
|
|
|
|
| default location for this type of information, allowing packages
|
|
|
|
| to have a conventional place to find your various credentials.
|
|
|
|
|
|
|
|
|
*/
|
2016-01-09 20:23:35 +01:00
|
|
|
'disable_services' => env('DISABLE_EXTERNAL_SERVICES', false),
|
|
|
|
'callback_url' => env('APP_URL', false),
|
2015-07-12 21:01:42 +02:00
|
|
|
|
2015-09-04 18:16:58 +02:00
|
|
|
'mailgun' => [
|
2015-07-12 21:01:42 +02:00
|
|
|
'domain' => '',
|
|
|
|
'secret' => '',
|
|
|
|
],
|
|
|
|
|
|
|
|
'mandrill' => [
|
|
|
|
'secret' => '',
|
|
|
|
],
|
|
|
|
|
2015-09-04 18:16:58 +02:00
|
|
|
'ses' => [
|
2015-07-12 21:01:42 +02:00
|
|
|
'key' => '',
|
|
|
|
'secret' => '',
|
|
|
|
'region' => 'us-east-1',
|
|
|
|
],
|
|
|
|
|
2015-09-04 18:16:58 +02:00
|
|
|
'stripe' => [
|
2015-09-10 20:31:09 +02:00
|
|
|
'model' => BookStack\User::class,
|
2015-07-12 21:01:42 +02:00
|
|
|
'key' => '',
|
|
|
|
'secret' => '',
|
|
|
|
],
|
|
|
|
|
2015-09-04 18:16:58 +02:00
|
|
|
'github' => [
|
|
|
|
'client_id' => env('GITHUB_APP_ID', false),
|
|
|
|
'client_secret' => env('GITHUB_APP_SECRET', false),
|
|
|
|
'redirect' => env('APP_URL') . '/login/service/github/callback',
|
|
|
|
],
|
|
|
|
|
|
|
|
'google' => [
|
|
|
|
'client_id' => env('GOOGLE_APP_ID', false),
|
|
|
|
'client_secret' => env('GOOGLE_APP_SECRET', false),
|
|
|
|
'redirect' => env('APP_URL') . '/login/service/google/callback',
|
|
|
|
],
|
|
|
|
|
2016-01-09 20:23:35 +01:00
|
|
|
'ldap' => [
|
|
|
|
'server' => env('LDAP_SERVER', false),
|
|
|
|
'dn' => env('LDAP_DN', false),
|
|
|
|
'pass' => env('LDAP_PASS', false),
|
|
|
|
'base_dn' => env('LDAP_BASE_DN', false),
|
2016-01-16 00:21:47 +01:00
|
|
|
'user_filter' => env('LDAP_USER_FILTER', '(&(uid=${user}))'),
|
|
|
|
'version' => env('LDAP_VERSION', false)
|
2016-01-09 20:23:35 +01:00
|
|
|
]
|
|
|
|
|
2015-07-12 21:01:42 +02:00
|
|
|
];
|