64 lines
1.8 KiB
PHP
64 lines
1.8 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Uwil\LaravelBackend\Models\User;
|
|
use Uwil\LaravelBackend\Requests\Users\StoreUserRequest;
|
|
use Uwil\LaravelBackend\Requests\Users\UpdateUserRequest;
|
|
|
|
return [
|
|
|
|
/**
|
|
*--------------------------------------------------------------------------
|
|
* Routes
|
|
*--------------------------------------------------------------------------
|
|
*
|
|
* This option may be used to edit routes informations.
|
|
* - prefix: string.
|
|
* - name: string.
|
|
*/
|
|
'routes' => [
|
|
'prefix' => 'admin',
|
|
'name' => 'back.',
|
|
],
|
|
|
|
/**
|
|
*--------------------------------------------------------------------------
|
|
* Redirects
|
|
*--------------------------------------------------------------------------
|
|
*
|
|
* This option may be used to edit redirects.
|
|
* - redirect_logout: string.
|
|
*/
|
|
'redirect_logout' => 'front.dynamic-pages.accueil.fr',
|
|
|
|
/**
|
|
*--------------------------------------------------------------------------
|
|
* Saml
|
|
*--------------------------------------------------------------------------
|
|
*
|
|
* This option may be used to active or not the saml connection.
|
|
* - enabled: boolean.
|
|
*/
|
|
'saml' => [
|
|
'enabled' => true,
|
|
],
|
|
|
|
/**
|
|
*--------------------------------------------------------------------------
|
|
* User
|
|
*--------------------------------------------------------------------------
|
|
*
|
|
* This options may be used when overriding the User model.
|
|
* - model: class.
|
|
* - store: class.
|
|
* - update: class.
|
|
*/
|
|
'user' => [
|
|
'model' => User::class,
|
|
'requests' => [
|
|
'store' => StoreUserRequest::class,
|
|
'update' => UpdateUserRequest::class,
|
|
],
|
|
],
|
|
];
|