2020-05-11 16:26:34 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2020-05-11 16:49:01 +02:00
|
|
|
|
2020-05-11 16:26:34 +02:00
|
|
|
/**
|
|
|
|
* OAuth model
|
|
|
|
*/
|
|
|
|
'model' => \App\User::class,
|
|
|
|
|
|
|
|
/**
|
2020-05-11 16:49:01 +02:00
|
|
|
* Route that redirects to Bluesquare Connect
|
|
|
|
*/
|
|
|
|
'login_url' => '/oauth/authorize',
|
|
|
|
|
|
|
|
/**
|
|
|
|
* OAuth callback URL
|
2020-05-11 16:26:34 +02:00
|
|
|
*/
|
2020-05-11 16:49:01 +02:00
|
|
|
'redirect_url' => env('BCONNECT_REDIRECT', url('/oauth/callback')),
|
2020-05-11 16:26:34 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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),
|
|
|
|
];
|