build(composer): 添加了错误码和对应的语言包

This commit is contained in:
李东云
2022-04-25 18:12:00 +08:00
parent 0c02d4ac54
commit 05fc36701c
5 changed files with 90 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
<?php
/**
* saml_error.php@HyperfSaml
*
* @author 李东云<dongyun.li@luxcreo.cn>
* Powered by PhpStorm
* Created on 2022/4/25
*/
return [
'default' => 'SAML format error',
'params' => [
'default' => 'SAML parameters missing',
'saml_request' => 'SAMLRequest is required',
],
];

View File

@@ -0,0 +1,16 @@
<?php
/**
* saml_error.php@HyperfSaml
*
* @author 李东云<dongyun.li@luxcreo.cn>
* Powered by PhpStorm
* Created on 2022/4/25
*/
return [
'default' => 'SAML 检验失败',
'params' => [
'default' => 'SAML 参数校验失败',
'saml_request' => 'SAMLRequest 参数不能为空',
],
];