First commit

This commit is contained in:
Maxime Renou
2020-05-11 16:26:34 +02:00
commit ba104bd674
9 changed files with 754 additions and 0 deletions

34
config/bconnect.php Normal file
View File

@@ -0,0 +1,34 @@
<?php
return [
/**
* OAuth model
*/
'model' => \App\User::class,
/**
* OAuth redirect URI
*/
'redirect' => env('BCONNECT_REDIRECT', url('/oauth/callback')),
/**
* OAuth client id
*/
'client_id' => env('BCONNECT_CLIENT_ID', null),
/**
* OAuth client secret
*/
'client_secret' => env('BCONNECT_CLIENT_SECRET', null),
/**
* OAuth scopes (separated with commas)
*/
'user_scopes' => '*',
'client_scopes' => '*',
/**
* Bluesquare Connect URL
*/
'url' => env('BCONNECT_URL', null),
];