laravel-connect/config/bconnect.php

41 lines
787 B
PHP
Raw Normal View History

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
*/
2020-05-12 13:00:14 +02:00
'login_url' => '/connect/authorize',
2020-05-11 16:49:01 +02:00
/**
* OAuth callback URL
2020-05-11 16:26:34 +02:00
*/
2020-05-12 13:00:14 +02:00
'redirect_url' => env('BCONNECT_REDIRECT', 'http://localhost:8000/connect/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)
*/
2020-05-12 13:00:14 +02:00
'user_scopes' => env('BCONNECT_USER_SCOPES', '*'),
'client_scopes' => env('BCONNECT_CLIENT_SCOPES', '*'),
2020-05-11 16:26:34 +02:00
/**
* Bluesquare Connect URL
*/
'url' => env('BCONNECT_URL', null),
];