joséf.moravec / simplesamlphp-module-authkohailsdi
一个SimpleSAMLphp模块,允许与Koha集成图书馆系统进行集成。
1.0.0-beta
2018-12-21 13:36 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-09 08:07:24 UTC
README
使用git安装
cd simplesamlphp/modules
git clone authkohailsdi https://gitlab.com/josef.moravec/simplesamlphp-koha-ils-di-authentication-module.git
touch authkohailsdi/enable
使用composer安装
composer require josef.moravec/simplesamlphp-module-authkohailsdi
touch vendor/josef.moravec/simplesamlphp-module-authkohailsdi/enable
配置
将以下内容添加到您的config/authsources.php文件中
$config = [
'kohailsdi' => [
'authkohailsdi:KohaILSDI',
'ilsdi_api_url' => 'https://<your-library-catalog.org>/cgi-bin/koha/ilsdi.pl',
'default_affiliation' => ['member', 'student' ],
'affiliation_mapping' => [
'<PATRONCATEGORY>' => ['member', 'employee' ],
],
'domain' => '<library.org>',
'agencyId' => '<sigla>',
'organizationName' => '<library name>'
],
];