2015-12-17 21:09:57 +00:00
|
|
|
{
|
|
|
|
"name": "OATHAuth",
|
2016-10-11 23:47:01 +00:00
|
|
|
"version": "0.2.2",
|
2015-12-17 21:09:57 +00:00
|
|
|
"author": "Ryan Lane",
|
2016-01-19 22:13:44 +00:00
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:OATHAuth",
|
2015-12-17 21:09:57 +00:00
|
|
|
"descriptionmsg": "oathauth-desc",
|
|
|
|
"type": "other",
|
2016-11-12 02:48:49 +00:00
|
|
|
"requires": {
|
|
|
|
"MediaWiki": ">= 1.27.0"
|
|
|
|
},
|
2016-06-23 09:23:18 +00:00
|
|
|
"license-name": "GPL-2.0+",
|
2015-12-17 21:09:57 +00:00
|
|
|
"AutoloadClasses": {
|
2016-09-30 03:12:03 +00:00
|
|
|
"ApiOATHValidate": "api/ApiOATHValidate.php",
|
2016-09-29 21:31:09 +00:00
|
|
|
"ApiQueryOATH": "api/ApiQueryOATH.php",
|
2015-12-17 21:09:57 +00:00
|
|
|
"OATHAuthHooks": "OATHAuth.hooks.php",
|
2014-05-19 00:05:59 +00:00
|
|
|
"OATHAuthKey": "OATHAuthKey.php",
|
2016-03-31 04:23:48 +00:00
|
|
|
"OATHAuthUtils": "OATHAuthUtils.php",
|
2014-05-19 00:05:59 +00:00
|
|
|
"OATHUserRepository": "OATHUserRepository.php",
|
2015-12-17 21:09:57 +00:00
|
|
|
"HOTP": "lib/hotp.php",
|
|
|
|
"HOTPResult": "lib/hotp.php",
|
|
|
|
"Base32": "lib/base32.php",
|
|
|
|
"OATHUser": "OATHUser.php",
|
2014-05-22 07:33:40 +00:00
|
|
|
"SpecialOATH": "special/SpecialOATH.php",
|
|
|
|
"SpecialOATHEnable": "special/SpecialOATHEnable.php",
|
|
|
|
"SpecialOATHDisable": "special/SpecialOATHDisable.php",
|
2015-11-16 02:52:23 +00:00
|
|
|
"ProxySpecialPage": "special/ProxySpecialPage.php",
|
|
|
|
"TOTPAuthenticationRequest": "auth/TOTPAuthenticationRequest.php",
|
|
|
|
"TOTPSecondaryAuthenticationProvider": "auth/TOTPSecondaryAuthenticationProvider.php"
|
2015-12-17 21:09:57 +00:00
|
|
|
},
|
2016-10-11 23:47:01 +00:00
|
|
|
"AuthManagerAutoConfig": {
|
|
|
|
"secondaryauth": {
|
|
|
|
"TOTPSecondaryAuthenticationProvider":{
|
|
|
|
"class": "TOTPSecondaryAuthenticationProvider",
|
|
|
|
"sort": 50
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-12-17 21:09:57 +00:00
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"OATHAuthAlias": "OATHAuth.alias.php"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
2016-10-11 23:47:01 +00:00
|
|
|
"AuthChangeFormFields": [
|
|
|
|
"OATHAuthHooks::onAuthChangeFormFields"
|
|
|
|
],
|
2016-04-01 20:32:05 +00:00
|
|
|
"TwoFactorIsEnabled": [
|
2015-11-16 02:52:23 +00:00
|
|
|
"OATHAuthHooks::onTwoFactorIsEnabled"
|
2016-04-01 20:32:05 +00:00
|
|
|
],
|
2015-12-17 21:09:57 +00:00
|
|
|
"LoadExtensionSchemaUpdates": [
|
2015-11-16 02:52:23 +00:00
|
|
|
"OATHAuthHooks::onLoadExtensionSchemaUpdates"
|
2015-12-17 21:09:57 +00:00
|
|
|
],
|
|
|
|
"GetPreferences": [
|
2015-11-16 02:52:23 +00:00
|
|
|
"OATHAuthHooks::onGetPreferences"
|
2015-12-17 21:09:57 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"OATHAuth": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"config": {
|
2015-05-25 23:47:03 +00:00
|
|
|
"OATHAuthWindowRadius": 4,
|
2016-03-31 04:23:48 +00:00
|
|
|
"OATHAuthDatabase": false,
|
2016-10-31 14:17:27 +00:00
|
|
|
"OATHAuthSecret": false,
|
|
|
|
"OATHAuthAccountPrefix": false
|
2015-12-17 21:09:57 +00:00
|
|
|
},
|
|
|
|
"ResourceModules": {
|
2016-06-20 07:34:42 +00:00
|
|
|
"ext.oath.showqrcode": {
|
|
|
|
"scripts": [
|
2016-11-14 05:09:41 +00:00
|
|
|
"jquery.qrcode.js",
|
|
|
|
"qrcode.js",
|
2016-06-20 07:34:42 +00:00
|
|
|
"ext.oath.showqrcode.js"
|
|
|
|
]
|
2016-11-14 05:18:06 +00:00
|
|
|
},
|
|
|
|
"ext.oath.showqrcode.styles": {
|
|
|
|
"styles": [
|
|
|
|
"ext.oath.showqrcode.styles.css"
|
|
|
|
]
|
2015-12-17 21:09:57 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
2016-06-20 07:34:42 +00:00
|
|
|
"localBasePath": "modules",
|
2015-12-17 21:09:57 +00:00
|
|
|
"remoteExtPath": "OATHAuth"
|
|
|
|
},
|
|
|
|
"SpecialPages": {
|
|
|
|
"OATH": "SpecialOATH"
|
|
|
|
},
|
2015-05-26 00:08:47 +00:00
|
|
|
"AvailableRights": [
|
2016-09-29 21:31:09 +00:00
|
|
|
"oathauth-enable",
|
|
|
|
"oathauth-api-all"
|
2015-05-26 00:08:47 +00:00
|
|
|
],
|
|
|
|
"GroupPermissions": {
|
|
|
|
"*": {
|
|
|
|
"oathauth-enable": true
|
|
|
|
}
|
|
|
|
},
|
2016-09-29 21:31:09 +00:00
|
|
|
"GrantPermissions": {
|
|
|
|
"oath": {
|
|
|
|
"oathauth-api-all": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"GrantPermissionGroups": {
|
|
|
|
"oath": "authentication"
|
|
|
|
},
|
2016-09-30 03:12:03 +00:00
|
|
|
"APIModules": {
|
|
|
|
"oathvalidate": "ApiOATHValidate"
|
|
|
|
},
|
2016-09-29 21:31:09 +00:00
|
|
|
"APIMetaModules": {
|
|
|
|
"oath": "ApiQueryOATH"
|
|
|
|
},
|
2016-09-30 03:12:03 +00:00
|
|
|
"RateLimits": {
|
|
|
|
"badoath": {
|
2016-10-03 04:32:30 +00:00
|
|
|
"&can-bypass": false,
|
2016-09-30 03:12:03 +00:00
|
|
|
"user": [
|
|
|
|
10,
|
|
|
|
60
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2015-12-17 21:09:57 +00:00
|
|
|
"manifest_version": 1
|
|
|
|
}
|