services.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Third Party Services
  6. |--------------------------------------------------------------------------
  7. |
  8. | This file is for storing the credentials for third party services such
  9. | as Stripe, Mailgun, SparkPost and others. This file provides a sane
  10. | default location for this type of information, allowing packages
  11. | to have a conventional place to find your various credentials.
  12. |
  13. */
  14. 'mailgun' => [
  15. 'domain' => env('MAILGUN_DOMAIN'),
  16. 'secret' => env('MAILGUN_SECRET'),
  17. 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
  18. ],
  19. 'ses' => [
  20. 'key' => env('SES_KEY'),
  21. 'secret' => env('SES_SECRET'),
  22. 'region' => env('SES_REGION', 'us-east-1'),
  23. ],
  24. 'sparkpost' => [
  25. 'secret' => env('SPARKPOST_SECRET'),
  26. ],
  27. 'stripe' => [
  28. 'model' => App\User::class,
  29. 'key' => env('STRIPE_KEY'),
  30. 'secret' => env('STRIPE_SECRET'),
  31. 'webhook' => [
  32. 'secret' => env('STRIPE_WEBHOOK_SECRET'),
  33. 'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
  34. ],
  35. ],
  36. 'twitter' => [
  37. 'client_id' => env('TWITTER_CONSUMER_KEY'),
  38. 'client_secret' => env('TWITTER_CONSUMER_SECRET'),
  39. 'redirect' => env('TWITTER_REDIRECT_URL')
  40. ],
  41. 'linkedin' => [
  42. 'client_id' => env('LINKEDIN_CLIENT_ID'),
  43. 'client_secret' => env('LINKEDIN_CLIENT_SECRET'),
  44. 'redirect' => env('LINKEDIN_REDIRECT_URL')
  45. ],
  46. 'facebook' => [
  47. 'client_id' => env('FACEBOOK_CLIENT_ID'),
  48. 'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
  49. 'redirect' => env('FACEBOOK_REDIRECT_URL')
  50. ],
  51. 'pinterest' => [
  52. 'client_id' => env('PINTEREST_CLIENT_ID'),
  53. 'client_secret' => env('PINTEREST_CLIENT_SECRET'),
  54. 'redirect' => env('PINTEREST_REDIRECT_URL')
  55. ],
  56. ];