Andrew Hancox
b08d113e0c
Add user provisioning.
2017-03-31 11:55:52 +01:00
Dmitrii Metelkin
35bec6b695
Use redirect function in user_login_userkey
2016-09-26 12:06:59 +10:00
Dmitrii Metelkin
1d380d8aed
Refactor hooks and modify related tests
2016-09-26 11:48:14 +10:00
Dmitrii Metelkin
b7cd70f1ea
Add ssourl validation
2016-09-26 10:45:40 +10:00
Matt Porritt
68f7634066
Add functionality to stop users from reaching the regular Moodle login page.
...
This function forces users who try to access Moodle directly to be redirected to the "SSO Host". The functionality is enabled by setting a SSO redirect URl in the plugins admin settings
The forced redirect can be overridden by using the query param "enrolkey_skipsso=on"
2016-09-26 09:51:52 +10:00
Dmitrii Metelkin
6a85c04826
Fix #1 when redirecting to server root, not a moodle root
2016-08-27 14:50:53 +10:00
Dmitrii Metelkin
c84216c6f8
Fix ip restriction functionality
2016-08-19 16:01:08 +10:00
Dmitrii Metelkin
56d8c6cbe0
Fix a coding style issue
2016-08-19 13:10:11 +10:00
Dmitrii Metelkin
01949baf71
Add tests to support logoutpage_hook function
2016-08-19 12:06:13 +10:00
Dmitrii Metelkin
97cd90dcfe
Add test to ceck if session marked as userkey session
2016-08-19 11:58:14 +10:00
Dmitrii Metelkin
3d4d67612b
Add tests to suppor redirect url in config form
2016-08-19 11:08:10 +10:00
Dmitrii Metelkin
3a516626fa
Update wantsurl related tests
2016-08-19 10:37:52 +10:00
Dmitrii Metelkin
be13e8b069
Fix coing style issues
2016-08-18 23:30:58 +10:00
Dmitrii Metelkin
aaac20f995
Add tests for user_login_userkey()
2016-08-18 22:57:37 +10:00
Dmitrii Metelkin
29d61cad41
Add settings
2016-08-18 14:43:57 +10:00
Dmitrii Metelkin
5a5bfc9d23
Improve tests/auth_plugin_test.php
2016-08-17 17:53:26 +10:00
Dmitrii Metelkin
e698304f80
Refactor generation of request_login_url_parameters
2016-08-17 16:43:35 +10:00
Dmitrii Metelkin
8b3534c803
Add more tests to tests/auth_plugin_test.php
2016-08-17 15:58:11 +10:00
Dmitrii Metelkin
7d25db3fda
WIP: add initital test and implementation get_login_url
2016-08-17 15:06:46 +10:00
Dmitrii Metelkin
157f357394
Add tests to support auth plugin class
2016-08-16 14:49:39 +10:00