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
afc5ec3e3f
Bump version
2016-08-27 21:43:19 +10:00
Dmitrii Metelkin
8bcd3d18c2
Merge pull request #6 from CatalystIT-AU/userkeymanager_changes
...
Userkeymanager changes
2016-08-27 21:40:42 +10:00
Dmitrii Metelkin
777575db8e
Refactor auth class
2016-08-27 21:19:58 +10:00
Dmitrii Metelkin
fd548ed7f5
Add reminder to write more tests
2016-08-27 16:17:21 +10:00
Dmitrii Metelkin
b93919bf5f
Fix existing tests for core key manager class after changing the interface
2016-08-27 16:12:01 +10:00
Dmitrii Metelkin
cbfbb5cb8a
Get rid of unused global valiables
2016-08-27 16:06:35 +10:00
Dmitrii Metelkin
336cd2862b
Update auth pligin to use a new key manager interface
2016-08-27 15:59:25 +10:00
Dmitrii Metelkin
401e9c9245
Update fake key manager in case to implement a new interface
2016-08-27 15:58:55 +10:00
Dmitrii Metelkin
04a4f4f573
Update core key manager in case to implement a new interface
2016-08-27 15:58:39 +10:00
Dmitrii Metelkin
1c8f115935
Change user key manager interface to abstract key validation
2016-08-27 15:58:09 +10:00
Dmitrii Metelkin
46f7068b38
Merge pull request #4 from CatalystIT-AU/issue#2
...
Fix #2 remove default archetypes and update documentation
2016-08-27 15:01:29 +10:00
Dmitrii Metelkin
5ff3cb7efc
Fix #2 remove default archetypes and update documentation
2016-08-27 15:00:07 +10:00
Dmitrii Metelkin
5c5b003f5c
Merge pull request #3 from CatalystIT-AU/issue#1
...
Fix #1 when redirecting to server root, not a moodle root
2016-08-27 14:52:14 +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
f6bc25a61d
Fix service name in README.md
2016-08-22 10:26:27 +10:00
Dmitrii Metelkin
dfeedcfa87
Rename web service
2016-08-19 17:07:20 +10:00
Dmitrii Metelkin
3358c1e942
Update documentation
2016-08-19 16:46:19 +10:00
Dmitrii Metelkin
c84216c6f8
Fix ip restriction functionality
2016-08-19 16:01:08 +10:00
Dmitrii Metelkin
c6d7b60c67
Refactoring of tests/core_userkey_manager_test.php
2016-08-19 14:51:41 +10:00
Dmitrii Metelkin
ec059a2191
Add allowedips parameter to the core key manager
2016-08-19 14:47:40 +10:00
Dmitrii Metelkin
816c6f92e9
Change web service use restrictions
2016-08-19 14:03:15 +10:00
Dmitrii Metelkin
56d8c6cbe0
Fix a coding style issue
2016-08-19 13:10:11 +10:00
Dmitrii Metelkin
44170b76db
Fix incorrect class doc
2016-08-19 13:03:55 +10:00
Dmitrii Metelkin
bf41c01c12
Refactor logoutpage_hook function
2016-08-19 12:13:47 +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
5de0871171
Add logout redirection functionality
2016-08-19 11:54:39 +10:00
Dmitrii Metelkin
b24d466649
Core userkey mamager doesn't care about existing of the user
2016-08-19 11:46:22 +10:00
Dmitrii Metelkin
b46edb61a9
Delete a user key just after we found it
2016-08-19 11:45:41 +10:00
Dmitrii Metelkin
3d4d67612b
Add tests to suppor redirect url in config form
2016-08-19 11:08:10 +10:00
Dmitrii Metelkin
8e1ecdb7b6
Move key lifetime error to the string file
2016-08-19 10:53:36 +10:00
Dmitrii Metelkin
56a1728b1a
Add redirect URL to a config form
2016-08-19 10:49:38 +10:00
Dmitrii Metelkin
3a516626fa
Update wantsurl related tests
2016-08-19 10:37:52 +10:00
Dmitrii Metelkin
1c3c2d5a76
Update README.md
2016-08-19 10:31:50 +10:00
Dmitrii Metelkin
55b2d87dba
Update README.md
2016-08-19 10:24:41 +10:00
Dmitrii Metelkin
b1897a200a
Update README.md
2016-08-19 10:23:28 +10:00
Dmitrii Metelkin
58dfcfa9a4
Update README.md
2016-08-19 10:07:16 +10:00
Dmitrii Metelkin
4b888d61ae
Initial readme description
2016-08-19 09:59:16 +10:00
Dmitrii Metelkin
5aef1d7966
Change size of key life time in config form
2016-08-19 09:58:59 +10:00
Dmitrii Metelkin
775933852a
Exclude unwanted ci checks
2016-08-18 23:48:36 +10:00
Dmitrii Metelkin
be13e8b069
Fix coing style issues
2016-08-18 23:30:58 +10:00
Dmitrii Metelkin
2a6a429b0a
Add README.md
2016-08-18 23:13:50 +10:00
Dmitrii Metelkin
47e11baf6c
Add travis.yml file
2016-08-18 23:05:55 +10:00
Dmitrii Metelkin
aaac20f995
Add tests for user_login_userkey()
2016-08-18 22:57:37 +10:00
Dmitrii Metelkin
a3fa1f0254
Change user_login_userkey() to return redirect URL
2016-08-18 22:56:53 +10:00
Dmitrii Metelkin
8341a1ac40
Change error text by get_string call
2016-08-18 21:51:02 +10:00
Dmitrii Metelkin
5f6a3a8c81
Move error text to a string file
2016-08-18 21:49:27 +10:00
Dmitrii Metelkin
fc66e08628
Add throwing an error if the plugin is disabled
2016-08-18 21:47:56 +10:00