danielneis/moodle-auth_ws 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

danielneis/moodle-auth_ws

Composer 安装命令:

composer require danielneis/moodle-auth_ws

包简介

This plugins allows your Moodle users to be authenticated against an external webservice

README 文档

README

Moodle plugin to authenticate users against external webservice.

This plugin let you configure a SOAP webservice to authenticate users against it.

Install

Usage

You configure the web service URL, the name of the function to be called, the returned Class and attribute to get the boolean result from.

This plugins does not create users, and also does not update users records.

Users are suposed to be created and updated by external service using the Moodle's webservices.

Users should have "auth = ws" for this plugin to authenticate users.

The screenshot below shows an example of how to configure you plugin to call your webservice

Config Example

Create new user account on login

For this to happen you must change the "is_synchronised_with_external" function at https://github.com/danielneis/moodle-auth_ws/blob/master/auth.php#L134 to return true.

Then you must implement the "get_userinfo" function at https://github.com/danielneis/moodle-auth_ws/blob/master/auth.php#L88 to return the information for the user. See the fields on user table that Moodle may use to check if user is confirmed/complete.

Dev Info

Please, report issues at: https://github.com/danielneis/moodle-auth_ws/issues

Feel free to send pull requests at: https://github.com/danielneis/moodle-auth_ws/pulls

Build Status Scrutinizer Code Quality

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 3
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2015-04-11