57 lines
1.4 KiB
PHP
57 lines
1.4 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Configuration de l'extension Authentik
|
|
*/
|
|
|
|
return [
|
|
'name' => 'Authentik SSO - Forclus.NET',
|
|
'version' => '1.0.0',
|
|
'author' => 'ForclusNET',
|
|
'description' => 'Integración completa con Authentik para autenticación SSO - Desarrollado por ForclusNET',
|
|
'url' => 'https://paymenter.org',
|
|
'type' => 'other',
|
|
'extension' => 'Authentik',
|
|
|
|
// Configuración por defecto
|
|
'default_settings' => [
|
|
'enabled' => false,
|
|
'client_id' => '',
|
|
'client_secret' => '',
|
|
'base_url' => '',
|
|
'auto_create_users' => true,
|
|
'require_existing_user' => false,
|
|
'force_authentik_only' => false,
|
|
],
|
|
|
|
// Routes personnalisées
|
|
'routes' => [
|
|
'web' => __DIR__ . '/routes/web.php',
|
|
],
|
|
|
|
// Vues
|
|
'views' => [
|
|
'namespace' => 'authentik',
|
|
'path' => __DIR__ . '/resources/views',
|
|
],
|
|
|
|
// Idiomas
|
|
'lang' => [
|
|
'namespace' => 'authentik',
|
|
'path' => __DIR__ . '/resources/lang',
|
|
'supported' => ['fr', 'en', 'es'],
|
|
],
|
|
|
|
// Permisos
|
|
'permissions' => [
|
|
'admin.authentik.view' => 'Ver configuración de Authentik',
|
|
'admin.authentik.update' => 'Actualizar configuración de Authentik',
|
|
],
|
|
|
|
// Dependencias
|
|
'dependencies' => [
|
|
'laravel/socialite' => '^5.14',
|
|
'socialiteproviders/manager' => '^4.8',
|
|
],
|
|
];
|