build(config): 增加了配置文件的默认值

This commit is contained in:
李东云
2022-04-26 19:55:30 +08:00
parent 3e3e25ef35
commit 732195b5ff

View File

@@ -2,7 +2,6 @@
declare(strict_types=1);
/** @noinspection PhpUndefinedConstantInspection */
return [
// 当前项目类型
'type' => 'sp', // 可选值sp/idp
@@ -10,23 +9,23 @@ return [
// IDP 相关配置
'server' => [
// common config
'idp_id' => '', // 单点登录
'idp_id' => env('IDP_ID', 'https://test-accountx.luxcreo.cn/api/v1/auth'), // 单点登录
// idp config
// sp config
// 以下内容向服务端申请
'idp_assertion_url' => '', // 判断用户是否登录
'idp_logout_url' => '', //单点退出
'idp_assertion_url' => env('IDP_ASSERTION_URL', 'https://test-accountx.luxcreo.cn/api/v1/auth/assertion'), // 判断用户是否登录
'idp_logout_url' => env('IDP_LOGOUT_URL', 'https://test-accountx.luxcreo.cn/api/v1/slo'), //单点退出
],
// SP 相关配置
'client' => [
// sp config
// 以下内容向服务端申请
'entity_id' => '', // 业务系统唯一标识
'acs_url' => '', // 回调地址
'landing_host' => '', // 站点 host
'entity_id' => env('ENTITY_ID', ''), // TODO 业务系统唯一标识
'acs_url' => env('ACS_URL', ''), // TODO 回调地址
'landing_host' =>env('LANDING_HOST', ''), // TODO 站点 host
],
// 证书