From 74cb1477bb921a2378ea22a552b71a48c11e0931 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 20 Jul 2018 16:34:32 +0200 Subject: Better API (integrated oauth completely) --- config/optimus.components.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config/optimus.components.php (limited to 'config/optimus.components.php') diff --git a/config/optimus.components.php b/config/optimus.components.php new file mode 100644 index 0000000..33a4170 --- /dev/null +++ b/config/optimus.components.php @@ -0,0 +1,19 @@ + [ + 'Api' => base_path() . DIRECTORY_SEPARATOR . 'api', + 'Infrastructure' => base_path() . DIRECTORY_SEPARATOR . 'infrastructure' + ], + + + 'protection_middleware' => [ + 'auth:api' + ], + + 'resource_namespace' => 'resources', + + 'language_folder_name' => 'lang', + + 'view_folder_name' => 'views' +]; -- cgit v1.2.3