laravel-connect/config/bconnect.php

42 lines
844 B
PHP
Raw Permalink 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\Models\User::class,
2020-05-11 16:26:34 +02:00
/**
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
/**
2022-05-18 17:40:18 +02:00
* Use post-login remember cookie
2020-05-11 16:26:34 +02:00
*/
2022-05-18 17:40:18 +02:00
'login_remember' => true,
2020-05-11 16:26:34 +02:00
/**
2022-05-18 17:40:18 +02:00
* OAuth callback URL
2020-05-11 16:26:34 +02:00
*/
2022-05-18 17:40:18 +02:00
'redirect_url' => env('BCONNECT_REDIRECT', 'http://localhost:8000/connect/callback'),
2020-05-11 16:26:34 +02:00
/**
2022-05-18 17:40:18 +02:00
* OAuth client identifiers
2020-05-11 16:26:34 +02:00
*/
2022-05-18 17:40:18 +02:00
'client_id' => env('BCONNECT_CLIENT_ID', null),
2020-05-11 16:26:34 +02:00
'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),
];