定制 surfnet/simplesamlphp-module-themesurf 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

surfnet/simplesamlphp-module-themesurf

Composer 安装命令:

composer require surfnet/simplesamlphp-module-themesurf

包简介

SURF simpleSAMLphp theme

README 文档

README

This project contains a simpleSAMLphp theme based on the design for an identity provider login screen that is optimized for use on mobile devices like smart phones and tablets. It was tested on a variety of devices.

The original design by Stroom can be found on Github Pages, and also in the gh-pages branch in this repository.

Login Page, Error Page.

The module can be installed in simpleSAMLphp by copying it into the modules directory or by using composer.

License

As this module takes code from simpleSAMLphp which is licensed under the LGPLv2.1 or later, this module has the same license. See included COPYING file.

Installation

We assume simpleSAMLphp is installed in /var/www/simplesamlphp, see the installation instructions.

You can install this theme as follows:

$ cd /var/www/simplesamlphp/modules
$ git clone https://github.com/SURFnet/simpleSAMLphp-theme-SURF.git themesurf

Now you can edit the main configuration file (/var/www/simplesamlphp/config/config.php) to enable the theme, in two places.

First, enable the module that contains the theme by adding it to the list of enabled modules:

'module.enable' => [
    'admin' => true,
    'themesurf' => true,
],

Then, change the following line:

'theme.use'             => 'default',

Into:

'theme.use'             => 'themesurf:surf',

This should enable the theme. You can only see it in action when there is an actual login screen with username and password dialog.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-2.1
  • 更新时间: 2024-04-23