File: /home/imensosw/www/imenso.co/dev/arabeasy/config/boxapi.php
<?php
return [
/*
|--------------------------------------------------------------------------
| Box Developer IDs
|--------------------------------------------------------------------------
|
| Set these value based on this documentation
| https://box-content.readme.io/docs/box-platform
|
*/
'au_client_id' => 'r5fc6u7s8gswz0ksgctkca9e1oi27w05',
'au_client_secret' => 'ff32I0N2hqAcWGprLVUVhZ6AX8NDg4j9',
'su_client_id' => 'r5fc6u7s8gswz0ksgctkca9e1oi27w05',
'su_client_secret' => 'ff32I0N2hqAcWGprLVUVhZ6AX8NDg4j9',
'redirect_uri' => 'https://wipit.co/boxapp/test',
/*
|--------------------------------------------------------------------------
| Get Enterprise IDs
|--------------------------------------------------------------------------
|
| Login into box.com and go to admin console menu on top left.
| Click gear icon on top right, click Enterprise or Business Setting.
| See the enterprise id on the screen
|
*/
'enterprise_id' => '35500896',
/*
|--------------------------------------------------------------------------
| Set Username or User Id
|--------------------------------------------------------------------------
|
| Set user name to use as App User in Enterprise. Usually need single user.
| Set user id if you know exactly the user id of Enterprise user
| to use this API.
|
*/
'app_user_name' => 'WIPIT_496694_FcWMfRxr4u@boxdevedition.com',
'app_user_id' => 'AppUser_511517_75l53qW5ec@boxdevedition.com',
/*
|--------------------------------------------------------------------------
| Expiration Time for Access Token
|--------------------------------------------------------------------------
|
| Set expiration time in second after request token. Max 60 seconds.
|
*/
'expiration' => 60,
/*
|--------------------------------------------------------------------------
| Expiration Time for Access Token
|--------------------------------------------------------------------------
|
| use this in terminal openssl genrsa -aes256 -out private_key.pem 2048
| follow documentation here https://box-content.readme.io/docs/app-auth
| copy this file in root folder of Laravel 5 project
|
*/
'public_key_id' => 'uszksgus',
'private_key_file' => base_path().'/private_key.pem',
'passphrase' => '1c520bb979990ef6c1c8cb120927d046',
];