1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
invoiceninja/config/gmail.php
Shift 19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00

100 lines
2.8 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Gmail Configuration
|--------------------------------------------------------------------------
|
|
|
| Scopes Available:
|
| * all - Read, send, delete, and manage your email
| * compose - Manage drafts and send emails
| * insert - Insert mail into your mailbox
| * labels - Manage mailbox labels
| * metadata - View your email message metadata such as labels and headers, but not the email body
| * modify - View and modify but not delete your email
| * readonly - View your email messages and settings
| * send - Send email on your behalf
| * settings_basic - Manage your basic mail settings
| * settings_sharing - Manage your sensitive mail settings, including who can manage your mail
|
| Leaving the scopes empty fill use readonly
|
| Credentials File Name
|
*/
'project_id' => env('GOOGLE_PROJECT_ID'),
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
'redirect_url' => env('GOOGLE_REDIRECT_URI', '/'),
'state' => null,
'scopes' => [
'readonly',
'modify',
],
/*
|--------------------------------------------------------------------------
| Additional Scopes [URL Style]
|--------------------------------------------------------------------------
|
| 'additional_scopes' => [
| 'https://www.googleapis.com/auth/drive',
| 'https://www.googleapis.com/auth/documents'
| ],
|
|
*/
'additional_scopes' => [
],
'access_type' => 'offline',
'approval_prompt' => 'force',
/*
|--------------------------------------------------------------------------
| Credentials File Name
|--------------------------------------------------------------------------
|
| :email to use, clients email on the file
|
|
*/
'credentials_file_name' => env('GOOGLE_CREDENTIALS_NAME', 'gmail-json'),
/*
|--------------------------------------------------------------------------
| Allow Multiple Credentials
|--------------------------------------------------------------------------
|
| Allow the application to store multiple credential json files.
|
|
*/
'allow_multiple_credentials' => env('GOOGLE_ALLOW_MULTIPLE_CREDENTIALS', false),
/*
|--------------------------------------------------------------------------
| Allow Encryption for json Files
|--------------------------------------------------------------------------
|
| Use Laravel Encrypt in json Files
|
|
*/
'allow_json_encrypt' => env('GOOGLE_ALLOW_JSON_ENCRYPT', false),
];